batches: support multiple target branches
Created by: LawnGnome
The client side part of sourcegraph/sourcegraph#25228. Depends on https://github.com/sourcegraph/sourcegraph/pull/28168, and will not pass CI until that's merged and this PR gets an update to its go.mod
.