After having created an empty github repository, run the following commands in the directory which content you wish to push. git init git add –all git commit -m “Initial Commit” git remote add origin https://url-to-repository.git git push -u origin master