Command
git log
Explanation
git log is used to show commit logs. It shows the commit logs.
Examples
Compact one-line format
git log --oneline
Visual graph of all branches
git log --graph --all
Show patch/diff for each commit
git log -p
git log
git log is used to show commit logs. It shows the commit logs.
Compact one-line format
git log --oneline
Visual graph of all branches
git log --graph --all
Show patch/diff for each commit
git log -p