pub fn validate_ref(what: &str, value: &str) -> Result<(), String>
Check a ref or branch name before it goes on a git command line. It comes from a tasks file; a leading - would read as an option.
-