git see my username code example
Example 1: get git username and email
git config user.name
git config user.email
Example 2: git show username
git config --list
Example 3: github see the username
git config user.name
Example 4: how to get git username and password
$ git config --global user.name "Mona Lisa"
$ git config --global user.name
$ mona