I receive the following error:
fatal: https://github.com/username/repository-name.git/info/refs not found: did you run git update-server-info on the server?
Also, make sure the repository URL is reachable from your network.
In my case, my internet subscription was close to expiring so my service provider was redirecting all the HTTP/HTTPS calls to their renewal page.
So, GIT could not reach the repository.