Restore a file from a commit

Git
git checkout <sha> -- <path>