The command git config --list will list the settings. There you should also find user.name and user.email.