So erhalten Sie aktuelle Git -Filiale
git branch --show-current
Cute Crossbill
git branch --show-current
//all branch and current branch
git branch
//current branch
git branch --show-current
git branch #starred one is your current branch
git rev-parse --abbrev-ref HEAD
git checkout -b <branch-name>
// Check current branch
git branch --show-current