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