Checking out files from branches in Git May 28, 2009 If you just need one file from a branch in git, you can grab it with checkout: git checkout master path/to/file It never occurred to me that this would work, because, frankly, it’s far too easy. Good work, Git.