git сравнивайте файлы с разными именами
git diff branch1:full/path/to/foo.txt branch2:full/path/to/foo-another.txt
Puzzled Peacock
git diff branch1:full/path/to/foo.txt branch2:full/path/to/foo-another.txt