how to view git username and email code example
Example 1: git list user and email
git config --global --get user.name
git config --global --get user.email
Example 2: git user email
git config --global user.name "John Smith"
git config --global user.email "[email protected]"