Listing your local branches
The following command will list all the branches you have on your local computer.
git branch -a
Listing the remote branches
The following command will list all the branches on the remote server.
git branch -r
The following command will list all the branches you have on your local computer.
git branch -a
The following command will list all the branches on the remote server.
git branch -r