git init git add . git commit -m "First commit" git remote add origin "URL of repository" git push --set-upstream origin master