how to create a branch and then push code in github code example
Example 1: create new branch git
$ git checkout -b [name_of_your_new_branch]
Example 2: create a branch command
$ git fetch [name_of_your_remote]
$ git checkout -b [name_of_your_new_branch]
$ git fetch [name_of_your_remote]