you're using pass, the best password manager, right?
https://passwordstore.org
this shell script plugs pass into git as a "credential helper"
chock it into your $PATH and run git config --global credential.helper pass, and thenceforth git will use pass to store credentials
https://git.orbital.rodeo/mike/home.git/html/bin/git-credential-pass.html
not bad for 28 sloc and i bet i can lose a few more
if you're using some other password manager, you can find similar tools for those here https://git-scm.com/doc/credential-helpers
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.