Not sure what you mean.
https://bundler.io/guides/git.html
...or with `npm i git+ssh:...`, and npm will git clone it locally, as long as it has a `package.json`
You can install a certain commit, or even from a Gist!