how to ls git branch

C++
git branch -a$ git branchgit config --global pager.branch false
Source

Also in C++: