Specify the branch, commit hash, or tag name after an @
at the end of the url:
pip install git+https://github.com/django/[email protected]
This will install the version tagged with 1.7b3
.
Reference: https://pip.pypa.io/en/latest/cli/pip_install/