# If the two files have different paths in each branch git diff branch1:path/to/file branch2:path/to/file