git liste branches

C++
git branch -a$ git branch
Source

Also in C++: