how to add username and password to auto in git code example Example: add username password git $ git config --global credential.helper cache