git diff show only file names code example Example: git diff show only files git diff --name-only SHA1 SHA2