gt create branch 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 remote add [name_of_your_remote] [name_of_your_new_branch]
# Create New Branch And Switch To It
$ git checkout -b myBranchName
$ git remote add [name_of_your_remote] [name_of_your_new_branch]