Sometimes with package manager you can have some troubles to download private Git dependencies (I had trouble with go get
in Go with a private repository).
If it's an authentication issue, you can force Git to use SSH indentification instead of HTTPS (or opposite) with the following lines:
Add to .gitconfig
file:
[url "ssh://git@github.com"]
insteadOf = https://github.com
Or with command line:
git config --global url."ssh://git@github.com".insteadOf "https://github.com"
Of course you can reverse this with the opposite:
[url "https://github.com"]
insteadOf = ssh://git@github.com
Or with command line:
git config --global url."https://github.com".insteadOf "ssh://git@github.com"