Reference:
1, Branch
1) Create new branch:
git branch NewBranchName
2) switch to new branch
git checkout NewBranchName
3) Create and switch
git checkout -b NewBranchName
4) Show branch list
git branch
5) Get current branch name
git rev-parse --abbrev-ref HEAD