Recently, I needed to install a package directly from Github which I’m trying to contribute into.

For example you have this url:

What you can do is just add git+ as prefix in the URL.

Here’s how you can do it!

pip install git+

But the code that I want to install is from another branch, so how do we do it? We just add @branch_name at the end of the url.

pip install git+

Your package is now installed.

I’m surprised how easy it is to do it, should anyone needed it, hope this can help you.