title: Is it possible to pull just one file in Git?
body: <p>I am working on a Git branch that has some broken tests, and I would like to pull (merge changes, not just overwrite) these tests from another branch where they are already fixed.</p>
  
  <p>I know I can do</p>
  
  <pre><code>git pull origin that_other_branch
  </code></pre>
  
  <p>but this will attempt to merge lots of other files, for that I am not yet ready.</p>
  
  <p>Is it possible to pull and merge only the specified file (and not everything) from that another branch?</p>
  
  <p>This is not a duplicate of <em><a href="https://stackoverflow.com/questions/8421552/git-pull-request-for-just-one-file">Git pull request for just one file</a></em> as all answers to that question are how to revert the locally changed file to the repository version, without changing any branches.</p>