fn is_ref(s: &str) -> bool
A ref name as git writes one: printable, no control characters, a bounded length.