how to compare two branches in command code example Example: git compare two branches git diff branch1..branch2