I have faced the same issue and resolved as follows
(if you have a project in local folder then follow the steps):
- create a new repo in guthub
- go to local folder and do "git init"
- git remote add origin (with your repo url) // simply copy from your repo
- git add -A
- git commit -m "your commit"
- git push -u origin master