first, create an new repository on github start a git bash, type in the following commands, ignoring the parenthesizes: echo # (whatever initial message) >> README.md git init git add README.md git commit -m "first commit" git remote add origin https://github.com/(your user name)/(new repository name).git git push -u origin master