как просмотреть все ветви в git
git branch -a
список филиалов 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
git получить местные филиалы
git branch -l
как проверить, в каком плече мы находимся в git
git branch -a # it will show an astrick * like *master
git branch --show-current # source == git remote --help
проверить ветви git
git branch
как проверить текущую ветку в git
git rev-parse --abbrev-ref HEAD
// To check the current branch