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