
You want to list all of your user details simple by type the below command.
git config --global --listIt will list all the detail of User nam, Email and Credentials etc.
Output of my system:
git config --global --list
user.email=gokulcs.gk@gmail.com
user.name=Gokulakrishnan S
credential.helper=manager
If you want to view user.name individually
Just type this command
git config --global user.nameIf you want to view user email individually
Just type this command
git config --global user.email