pub fn in_linked_worktree() -> bool
Whether this command is running inside a linked worktree rather than the main checkout. Best effort: an unreadable root reads as the main worktree, which is where most runs happen.