git creating and seting branch code example
Example 1: create branch in git
# Create New Branch And Switch To It
$ git checkout -b myBranchName
Example 2: git branch command
git branch <branchname>
(or)
git checkout -b <branchname>
# Create New Branch And Switch To It
$ git checkout -b myBranchName
git branch <branchname>
(or)
git checkout -b <branchname>