see your git info 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