git init git add . git commit -m 'First commit' git remote add origin <remote repository URL> git push origin master