For example to view how app/models/user.rb looks on branch name_of_branch: git show name_of_branch:app/models/user.rb