Is there a way to get the name of the user, given only their username?
Something like this output git show (I know this doesn\'t work)<
git show
Use this to see the logged in user (the actual git account):
git config credential.username
And as other answers the user email and user name (this is differenct from user credentials):
git config user.name git config user.email
To see the list of all configs:
git config --list