creating branch using git bash code example
Example 1: create branch in git
# Create New Branch And Switch To It
$ git checkout -b myBranchName
Example 2: create a branch command
$ git branch -d [name_of_your_new_branch]
# Create New Branch And Switch To It
$ git checkout -b myBranchName
$ git branch -d [name_of_your_new_branch]