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