pub fn repo_root(dir: &Path) -> Result<PathBuf, GitError>
Absolute path of the repository root containing dir.
dir