fetchgitPrivate
supports reading ssh-auth-sock
and git-ssh
from the nix path as a way to use SSH keys to access git repositories. You can use this to keep your credentials in the ssh-agent instead of in the environment. I believe private repositories on GitHub support ssh.
1 Like