git log --oneline --graph

Displays condensed repository history in a graphical format.

This commend is a variant of git log that simplifies the default output by printing each commit on a single line, making it easier to get an overview of the repository's history.

Adding the --graph flag visualizes the history in ASCII graph format, depicting branches and merges. This command does not take any arguments.

Moreover, --oneline is a shorthand for --pretty=oneline --abbrev-commit, where --pretty=oneline displays the commit information in a single line and --abbrev-commit abbreviates the commit hash.