checking githu username code example Example 1: git check username git config --list Example 2: github see the username git config user.name