last 10 commits git log --pretty=format: --name-only | sort | uniq -c | sort -rg | head -10 When did some file change git log -p -S Historical diff to changes on a specific file git log -p filename