The ‘git log’ command is your closest option to view the local branches in a tree like structure.
Use the following command, it will arrange the commits in a hierarchical manner.
git log --graph --simplify-by-decoration --pretty=format:'%d' --all
However, if you’re more specific about the look of your branching workflow rather than the commits, use the following command.
git log --decorate --all --graph --simplify-by-decoration --topo-order --date=short --format='%h [%cd]%d %s'