como ver todos os ramos no git
git branch -a
lista de ramificações git
git branch -a #all local and remote branches are listed
git branch -r #remote branches are listed
git branch #only local branches are listed
comando da ramificação git
git branch <branchname>
(or)
git checkout -b <branchname>
listar todas as branhces git
git branch -a