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