create new branch git

Shell
// create and checkout new branch in one line
git checkout -b new_branch$ git checkout -b [name_of_your_new_branch]$ git push [name_of_your_new_remote] [url]$ git branch [name of 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]
Source

Also in Shell: