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