Store git credentials for a day from the command line. As of Aug, 2021, a ‘personal access token’ must replace your password.

git config --global credential.helper "cache --timeout=86400"

via https://stackoverflow.com/a/5343146/992999