git see branch tree code example
Example 1: git show-branch tree command line
git log --all --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
Example 2: git print commit tree html
git log --graph --pretty=oneline --abbrev-commit