git init git add . git commit -m "initial commit" git remote add origin https://github.com/my_username/my_project.git git push --set-upstream origin master