git compare 2 branch commit code example Example: git show diff between branches git diff branch_1..branch_2