pub fn normalize_push_refname(name: &str) -> String
Expand a short push ref name to refs/heads/<name>, leaving empty names, HEAD, and already-qualified refs/* names untouched.
refs/heads/<name>
HEAD
refs/