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