git command to create a branch

Shell
$ git checkout -b [name_of_your_new_branch]$ git push origin [name_of_your_new_branch]//Create a New Branch
git checkout -b [name_of_your_new_branch]
//First Push
git push --set-upstream origin [name_of_your_new_branch]$ git push origin :[name_of_your_new_branch]# Create New Branch And Switch To It
$ git checkout -b myBranchName
Source

Also in Shell: