pub fn is_linked_worktree(root: &Path) -> bool
Returns true if root is a linked worktree (its git-dir differs from its git-common-dir).
root