creating remote branch firstly we make a repo on github get the github link go to local pc and mkdir -> cd to that dir and git init git init git remote add origin git pull origin master git checkout -b git push origin edit: git remote add origin instead of just git remote add (edited)