stackoverflow

View on StackOverflow ..

Remove your user settings:

Name: $~ git config --global --unset user.name

Email: $~ git config --global --unset user.email

or all your global settings:

$~ git config --global --unset-all

Then set your username in git.

To check who you are:

$~ git config --list