git bash add user name and password github code example Example: add username password git $ git config --global credential.helper cache