create a branch in git cmd code example
Example 1: create new branch git
$ git checkout -b [name_of_your_new_branch]
Example 2: how to create a branch in git
$ git branch [name of branch]
Example 3: create a branch command
$ git branch -a
$ git checkout -b [name_of_your_new_branch]
$ git branch [name of branch]
$ git branch -a