Push local data to github git remote add origin https://github.com/bardie/github-basics.git Change the branch name (OPTIONAL) git branch -M main Push to Branch (OPTIONAL) git push -u origin main