Last Updated: February 25, 2016
·
502
· luxifer

Define master as default branch

just type the next command in your console to sync your master and origin/master

git branch --set-upstream master origin/master

After that even if you have lots of branch on your repo you just have to do

git pull
git push

To update your local or the remote