git add branch and commit at same time code example
Example 1: git create branch
$ git branch iss53
$ git checkout iss53
Example 2: git create branch
$ vim index.html
$ git commit -a -m 'Create new footer [issue 53]'
$ git branch iss53
$ git checkout iss53
$ vim index.html
$ git commit -a -m 'Create new footer [issue 53]'