git set email id code example Example: set email git git config --global user.email "[email protected]"