git commit applies to only modified file code example Example: git show files modified since commit git diff --name-only HEAD~10 HEAD~5