How do I switch from master to branch in git? code example
Example 1: make a new branch git
git checkout -b branch-name
Example 2: git create branch
$ vim index.html
$ git commit -a -m 'Create new footer [issue 53]'
git checkout -b branch-name
$ vim index.html
$ git commit -a -m 'Create new footer [issue 53]'