change email address git code example Example: git change email git config --global user.email "[email protected]"