$ git branch NEWBRANCH
$ git branch NEWBRANCH * master
$ git checkout NEWBRANCH Switched to branch 'NEWBRANCH'
$ git push --set-upstream origin NEWBRANCH