Following are a couple of simple commands that we use daily to create a new branch on
git and push it to the
The following command will create locally a new branch called
branch_name and switch to it.
git checkout -b branch_name;
The following command will push the local branch you are currently switched to on the git server.
It will be made available to the server using the name
git push --set-upstream origin branch_name;
This post is also available in: Greek