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