git check user details in terminal code example Example: get git username and email git config user.name git config user.email