Comparing two branches in GIT

1
git diff branch_1..branch_2

That will produce the diff between the tips of the two branches. If you'd prefer to find the diff from their common ancestor to test, you can use three dots instead of two.

1
git diff branch_1...branch_2