title: git checkout <branch> -- path/to/file not working
body: <p>When I try to replace a file in a branch with the version from the master branch it acts as if it worked; however, the file is not replaced and nothing new is staged. For example, here is a sample workflow:</p>
  
  <pre><code>git checkout someBranch
  git checkout master -- path/to/file
  </code></pre>
  
  <p>The second command will return as if nothing went wrong or nothing has happened. How do I checkout a file from a different branch into my current branch?</p>