Just run git show branch:file. Examples:
git show branch:file
git show HEAD~:bin/command git show origin/master:../lib/version.rb
Save money by migrating from AWS to our fully managed hosting in Germany.