[alias]
tree = log --graph --all --decorate --pretty=oneline --abbrev-commit
Then git tree
will give text based tree of branches:

To run git tree in console showing e.g. 20 latest commits we can run git tree in a while loop as follows:
while true; do clear; git tree -20; sleep 2; done