Install package with pip from specific branch of github
Here is how I do it is a private repo and I use the branch name:
pip install "git+ssh://git@github.com/your_repo.git@your_branch_name"
Note for authentication, your password might be a token from github if you have set that up.
Checkout this answer for more ways to pip install: https://stackoverflow.com/a/13754517/5042916