how to know the git username and email code example Example 1: git show username git config --list Example 2: git find login git config user.name