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