Just a quick tip.
Do you want to look at a file in a different branch where tests are passing to see if the problem is in that file? Or maybe you want to rollback a change in git to a particular previous version?
It’s easy, once you have the commit SHA:
git checkout <sha> /path/to/file.rb
Done!
⦂∀