pub fn extract_hostname(input: &str) -> Option<String>
Extract hostname from a URL-like git source string.