how to check current git user on comptuer 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