Pip supports installation from github
Pip installation by cloning whole repository
pip install git+https://github.com/maxwu/cistat.git@dev
Will install cistat from dev branch of github code repository. However, if there are a number of files and the network is not smoothy, it costs longer time.
Pip installation from a cloned zip
pip install https://github.com/maxwu/cistat/archive/dev.zip
It will install the dev branch python library cistat with latest code.
Prerequisites
Github repository shall have setup.py, MANIFAST.IN, setup.cfg and requested supporting files as a Pypi distribution layout.
Reference
Stackoverflow, http://stackoverflow.com/questions/20101834/pip-install-from-git-repo-branch