pub fn worktree_exists(root: &Path, path: &Path) -> Result<bool>
Check if a directory is already a git worktree.