OptionalbranchesBranches to read: branch ids, null for the main branch, or 'all'. Defaults to the main branch only,
so a private branch never reaches a reader that did not ask for it. Read a branch's ancestors with
'all' (or the branches on its path) and pass the items to readBranch.
Options for query.