pub fn detect(dir: &Path) -> DetectionExpand description
Read the origin remote of dir and map it, without judging.
The read answers for dir alone: the variables a running hook
exports are scrubbed, so an inherited GIT_DIR cannot answer with
another repository’s remote.