git list changed files from commit code example Example: list changed files git git diff --name-only SHA1 SHA2