Documentation / config / worktree.txton commit Merge branch 'nd/the-index' (cde5554)
   1worktree.guessRemote::
   2        With `add`, if no branch argument, and neither of `-b` nor
   3        `-B` nor `--detach` are given, the command defaults to
   4        creating a new branch from HEAD.  If `worktree.guessRemote` is
   5        set to true, `worktree add` tries to find a remote-tracking
   6        branch whose name uniquely matches the new branch name.  If
   7        such a branch exists, it is checked out and set as "upstream"
   8        for the new branch.  If no such match can be found, it falls
   9        back to creating a new branch from the current HEAD.