pub fn find_git_root(start: &Path) -> Option<PathBuf>
Walk UP from start to the nearest directory containing a .git entry (file or dir, so worktrees resolve), or None if not inside a repo.
start
.git
None