//it assumes theres at least one commit on the local repo git init git remote add origin git@github.com:username/new_repo git push -u origin master