github See branches (in your local machine)

C++
git branch 
Source

Also in C++: