I ran into a github HTTPS clone error as this:
$ git clone https://github.com/ideawu/ssdb.git Initialized empty Git repository in /xxx/.git/ Cannot get remote repository information. Perhaps git-update-server-info needs to be run there?
Try to use this instead: git clone git://github.com/ideawu/ssdb.git, problem solved.
DO NOT copy the git url from github, because it is in the form of: email@example.com:ideawu/ssdb.git, this need you to set up a LOT of things! Using git://github.com/xxx/yyy.git is the easiest way to clone a read-only repo annonymous.