Как получить текущую филиал GIT
git branch --show-current
Cute Crossbill
git branch --show-current
git checkout -b new-branch-name
branchShell/Bash By Scriper on Sep 2 2020 Comment
// Example for creating a new branch named myNewBranch
git checkout -b myNewBranch
// First Push
git push --set-upstream origin myNewBranch
git checkout master
git branch {branch_name}
git checkout {branch_name}
$ git checkout <existing_branch>
$ git checkout -b <new_branch>
git checkout -b <new-branch>