updating git username and password and email code example Example: change git username and email $ git config --global user.email "[email protected]"