pub fn validated(name: impl Into<BString>) -> Result<BString, Error>
Return name if it is valid as symbolic remote name.
name
This means it has to be valid within a the ref path of a tracking branch.