What do you mean both versions? They are all different versions.
You have N versions between your endpoints, and you test log(N) of them. You don't test any single version more than one time.
You have N versions between your endpoints, and you test log(N) of them. You don't test any single version more than one time.
(To run the tests in parallel, git-branchless provisions its own worktrees. For binary search, it speculatively executes the search for the potential success and failure cases; when the number of jobs is a power of 2, this partitions the search space evenly.)
[1]: https://github.com/arxanas/git-branchless/wiki/Command:-git-...
FYI git has "worktrees": https://git-scm.com/docs/git-worktree