$ git log
Display commit history.
$ git log --oneline
Show each commit on a single line.$ git log --graph
Display a text-based graph of commits.$ git log --author='John Doe'
Show commits by a specific author.$ git log --since='3 days ago'
Show commits since a specific date.$ git log --grep='keyword'
Search for commits with a specific keyword.