git add new branch steps code example
Example 1: how to make a new branch git
$ git checkout -b [name_of_your_new_branch]
Example 2: command to create a new branch in git
$ git checkout -b <branch-name>
$ git checkout -b [name_of_your_new_branch]
$ git checkout -b <branch-name>