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