git diff list files name code example
Example 1: git show diff in modified file
git diff [filename]
Example 2: git compare files with different names
git diff branch1:full/path/to/foo.txt branch2:full/path/to/foo-another.txt
git diff [filename]
git diff branch1:full/path/to/foo.txt branch2:full/path/to/foo-another.txt