git init touch README git add README git commit -m 'first commit' git remote add origin https://youusername.github.com/test.git git push -u origin master