--replace-all username in git code example Example: git error: More than one value for the key user.name: $ sudo git config --global --unset user.name "username"