You could double check below things to narrow down the problem:
Check if you have added the project to a new created repo, when you create a project, there is an option Create new Git Repository . You may checked this option.
If so, the simplest way is manually copy the project to your original local repo, then commit and push it.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.