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