git show modified files code example
Example 1: git show files modified since commit
git diff --name-only HEAD~10 HEAD~5
Example 2: git list modified files
#Before commiting
git status
git diff --name-only HEAD~10 HEAD~5
#Before commiting
git status