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