add user and password in local system git code example Example: add username password git $ git config --global credential.helper cache