pub fn get_user_email(repo: &Repository) -> Result<Option<String>>Expand description
Returns the configured Git user email for the repository, if present.
Looks up user.email using the repository’s config resolution order.
§Errors
- Reading repository configuration fails.