What's the best encrypted git credential helper for Linux?
This is what we have in git sources: https://github.com/git/git/tree/master/contrib/credential
So you can use gnome-keyring
(deprecated), libsecret
or gpg-encrypted .netrc
.
libsecret
could be used with any Linux distribution without GNOME, I believe.
git config --global credential.helper /usr/share/doc/git/contrib/credential/libsecret/git-credential-libsecret
See https://stackoverflow.com/a/40312117/7976758.
This is how to use gpg-encrypted .netrc
: https://stackoverflow.com/a/18362082/7976758.