git command to see logged in username code example
Example: git list user and email
git config --global --get user.name
git config --global --get user.email
git config --global --get user.name
git config --global --get user.email