I\'m using the github Gui from their website to manage my repos, and I\'m getting the following error:
fatal: https://github.com/TeaCodie/TeaCodie-Website.gi
You might have changed your repository name
In your local repository edit the file:
.git/config
Then check:
[remote "origin"]
url =
that the URL matches your remote repository
I met up with the same problem.
How I solved this problem is:
I use git bash to create a new repo, when I typed "git push origin master"
It reported
"fatal: https://github.com/TeaCodie/TeaCodie-Website.git/info/refs not found:
did you run git update-server-info on the server?"
Finally, I found there was not a repo on the github at all.
You'd better create a new repo first on github.
Maybe this experience can help somebody.
In my case my github account did not have permissions to the repo. Added the github account as a collaborator for the repo and that fixed it.
This happened to me and at first it was not apparent what had gone wrong. The previous day I had renamed my repo on github.com only changing the first character of the repo name from a lowercase letter to uppercase. I was not aware that the repo name in the origin URL was case-sensitive unit I received the error which contained the text, "did you run git update-server-info on the server." Once I edited the .git/config file to correct the case of the same letter in the origin URL, the problem was solved, the error no longer occurred and I was once again able to push my changes up to the repo on github.com. Another bit of advice: if you make changes to your repo on github, make sure to test sync'ing your local repo right away. In my case, I did not and it was the next day when I had tried to sync and couldn't because of the error and I forgot that I had renamed the repo, so I was scratching my head for a bit. Had I tested sync'ing right away, I would have caught this problem right away.
In my case I had old version of the git. Upgrade to latest version fixed this issue.
probably you were trying to clone like this:
git clone https://github.com/TeaCodie/TeaCodie-Website.git
Then you got this error:
fatal: https://github.com/TeaCodie/TeaCodie-Website.git/info/refs not found: did you run git update-server-info on the server?
Here is what worked for me:
git clone https://github.com/TeaCodie/TeaCodie-Website.git/.git
because the directory "info/refs" is in the .git directory.