git list user and email code example Example: git list user and email git config --global --get user.name git config --global --get user.email