how to create a branch in git

Shell
$ git checkout -b [name_of_your_new_branch]// delete branch locally
git branch -d localBranchName

// delete branch remotely
git push origin --delete remoteBranchName
$ git branch [name of branch]$ git fetch [name_of_your_remote]$ git push [name_of_your_new_remote] [url]$ git remote add [name_of_your_remote] [name_of_your_new_branch]
Source

Also in Shell: