til you don't need to store sendemail.smtppass in your .gitconfig because it will fetch it from git-credential
git-credential can invoke various helpers to obtain the password:
- a normal password dialog (ssh-askpass)
- from a cleartext file (git-credential-store)
- from a cache (get-credential-cache)
- from other helpers, extensible with scripts!
so i can totally make git automatically use my favorite password manager https://www.passwordstore.org/
more info: man 7 gitcredentials