github create branch from master build code example Example: create a new branch and publish gitub git checkout -b <branch> git push -u origin <branch>