how to view modified files in git code example Example: git show files modified since commit git diff --name-only HEAD~10 HEAD~5