git create new branch and push to github code example
Example 1: create a new branch and publish gitub
git checkout -b <branch>
git push -u origin <branch>
Example 2: create a branch command
$ git push origin :[name_of_your_new_branch]
Example 3: create a branch command
$ git branch -d [name_of_your_new_branch]