pub fn without_dot_git_dir(path: PathBuf) -> PathBuf
Conditionally pop a trailing .git dir if present.
.git