git diff with specific branch just filenames code example Example: git diff show only files git diff --name-only SHA1 SHA2