One approach would be to use [Git Credential Manager](https://github.com/GitCredentialManager/git-credential-manager) Another approach is to store in home directory config files, e.g.: https://github.com/bitcomplete/plz-cli/compare/main...keegancsmith:plz-cli:main