Compare file between 2 branches
https://www.lukeko.com/35/compare-file-between-2-branches 0git diff branch1 branch2 path/to/file
Compare local uncommitted file with another branch
git diff rails610:./ -- Gemfile
git diff branch1 branch2 path/to/file
Compare local uncommitted file with another branch
git diff rails610:./ -- Gemfile