A new, empty Git Repository has to be created on GitHub.com (do not initialize it with a Readme or alike, when asked!)
$ cd /path/to/project
$ git remote add upstream https://github.com/[account]/[repository].git
$ git push upstream master
$ git push --tags upstream