Decides the branch precheck from the probe's exit code: 0 (the ref exists) fails with WorktreeBranchExists, 1 (missing) passes, and any other exit fails with GitCommandFailed carrying the probe's args, exit code and stderr.
Decides the branch precheck from the probe's exit code: 0 (the ref exists) fails with WorktreeBranchExists, 1 (missing) passes, and any other exit fails with GitCommandFailed carrying the probe's args, exit code and stderr.