Switch to the specified branch, creating it if needed

await repo.switchBranch(branchName)

This will switch to any existing branch, or create one if needed.