how to know the username in git code example Example 1: git show username git config --list Example 2: github see the username git config user.name