how to edit user and email in git command code example Example: change git username and email $ git config --global user.email "[email protected]"