create new branch git and commit code example
Example 1: how to create a branch in git
$ git branch [name of branch]
Example 2: how to make branch in git command
git branch crazy-experiment
$ git branch [name of branch]
git branch crazy-experiment