I install django through :
git clone git://github.com/django/django.git
pip install -e django/
I use Ubuntu 16.04.
But
You can install a Python 2 version of Django using git - you just need to checkout the correct release tag first. Try something like
git clone git://github.com/django/django.git
cd django
git checkout 1.11.0
cd ..
pip install -e django/
That said, you are much better off using pip directly, as other solutions suggest.