Git user FAQ: How do I show or change my Git username (or email address)?
How to show your Git username
There are several ways to show your Git username. One way is with the "git config" command, like this:
git config user.name
which in my case returns:
Another way to show your Git username is with this git config command:
git config --list
which returns this output: