Following https://docs.djangoproject.com/en/dev/topics/install/#installing-development-version , I was unable to download latests version of github repo:
$ git clone https://github.com/django/django.git
Initialized empty Git repository in /home/admin/django/django/.git/
Cannot get remote repository information.
Perhaps git-update-server-info needs to be run there?
This is a known error from github for old git versions (see https://github.com/blog/809-git-dumb-http-transport-to-be-turned-off-in-90-days).
Despite updating git was not an option on my server, I was able to download django code using git:// instead of https:// :
$ git --version
git version 1.5.2.5
$ git clone git://github.com/django/django.git
Initialized empty Git repository in /home/admin/django/django/.git/
remote: Counting objects: 138773, done.
remote: Compressing objects: 100% (35866/35866), done.
Indexing 138773 objects...
remote: Total 138773 (delta 104852), reused 130823 (delta 98002)
100% (138773/138773) done
Resolving 104852 deltas...
100% (104852/104852) done
Checking 4640 files out...
100% (4640/4640) done
For next developers, can you please change documentation accordingly ?
In [17139]: