git show log for file code example Example 1: git log for specific file git log -p filename Example 2: git log by author git log --author="Jon"