git lg

Log with a text-based graphical representation of the commit history

Git alias:

lg = log --graph

Example:

git lg