create new branch from another code example
Example 1: create new branch git
$ git checkout -b [name_of_your_new_branch]
Example 2: create a branch command
$ git push origin :[name_of_your_new_branch]
$ git checkout -b [name_of_your_new_branch]
$ git push origin :[name_of_your_new_branch]