git log(1) --oneline --graph --decorate --all
Show commit logs
    This is a shorthand for "--pretty=oneline --abbrev-commit" used together.
    Draw a text-based graphical representation of the commit history on the left hand side of the output.
    This may cause extra lines to be printed in between commits, in order for the graph history to be
    drawn properly.

    This enables parent rewriting, see History Simplification below.

    This implies the --topo-order option by default, but the --date-order option may also be specified.
--no-decorate, --decorate[=short|full|no]
    Print out the ref names of any commits that are shown. If short is specified, the ref name prefixes
    refs/heads/, refs/tags/ and refs/remotes/ will not be printed. If full is specified, the full ref
    name (including prefix) will be printed. The default option is short.
    Pretend as if all the refs in refs/ are listed on the command line as <commit>.
source manpages: git-log