git see all changed file names only code example
Example 1: git diff show only files
git diff --name-only SHA1 SHA2
Example 2: git files changed between two commits
git diff --name-only SHA1 SHA2
git diff --name-only SHA1 SHA2
git diff --name-only SHA1 SHA2