git compare files with different names code example
Example: git compare files with different names
git diff branch1:full/path/to/foo.txt branch2:full/path/to/foo-another.txt
git diff branch1:full/path/to/foo.txt branch2:full/path/to/foo-another.txt