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