How to make a better git log

Problem:

Need to improve the output of the standard git log command:

Set global git lg alias:

git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"

To check:

git-alias

Sample output

sample