I have created a remote repo using my GitHub account at https://github.com/darKoram/sphero_tracker.git. So far it just contains some wiki pages, but I\'m ready to upload my
In my case I am also getting the same error.
fatal: remote part of refspec is not a valid name in https://github.com/username/repo.git
Firstly I thought it is due to changing the username( as I recently change my username on github) but that's not a problem.
When I tried git fetch and then git pull but getting the same error.
At Last this is just solved by
git push origin master
No Idea but this worked.