pub fn extract_hostname(input: &str) -> Option<String>
Extract hostname from a URL-like git source string.
Removes scheme, user info, port, and path; returns only the host.