git check what user code example
Example 1: how to check the current git user
To know the username, type:
git config user.name
To know the email, type:
git config user.email
Example 2: git check username
git config --list
To know the username, type:
git config user.name
To know the email, type:
git config user.email
git config --list