set username and password in git terminal code example Example: save account to git git config --global credential.helper store