Show a history of commits.

# To show the sequence of commits starting from the current one, in reverse chronological order:
git log

# To show the history of a particular file or directory, including differences:
git log -p <path>

# To show only the first line of each commit message:
git log --oneline

# To show an overview of which file(s) changed in each commit:
git log --stat

# To show all commits, tags and branches for the entire repo in a graph format:
git log --oneline --decorate --all --graph

# To show only commits whose messages include a given string (case-insensitively):
git log -i --grep <search_string>