Install program from GitHub into Anaconda env with pip

I am looking at installing a program from GitHub that is not available in the anaconda repositories. I have created an environment and pre-installed the require packages for this program. For the next steps the recomendation that I find is to install git and pip into this environemnt and then pip install the desired program. Is this the best way?

If I’m understanding your question correctly:

> conda activate {env_name}
> conda install pip
> conda install git
> pip install git+{url to github page}

This will install the latest commit off the default branch, if you wish to install specific branch, tag, or commit you can also do that: