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
Here is a slightly easier method I just came up with when researching this:
git fetch {remote} git checkout FETCH_HEAD -- {file}