How to install a package from Github repository in Yarn:
With SSH:
yarn add ssh://git@github.com:NAME/PROJECT.git
With HTTPS:
yarn add https://github.com/NAME/PROJECT.git
You can get the Github link by clicking on “Clone or Download” button, on the project’s page