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