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