command to create new branch git code example
Example 1: create new branch git
$ git checkout -b [name_of_your_new_branch]
Example 2: git create branch
$ vim index.html
$ git commit -a -m 'Create new footer [issue 53]'
$ git checkout -b [name_of_your_new_branch]
$ vim index.html
$ git commit -a -m 'Create new footer [issue 53]'