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