git diff between commits only files code example Example: git diff show only files git diff --name-only SHA1 SHA2