how to know username used by git code example Example: git list user and email git config --global --get user.name git config --global --get user.email