        Switch to a topic branch.  You can use `git checkout <branch>`
        to get the same effect, but this command helps you navigate
        the dependency graph, or allows you to match the topic branch
        name using a regular expression, so it can be more convenient.

        The `--branch` (or `-b` or `--branch=<name>`) option changes
        the default starting point from `HEAD` to the specified branch.

        For the "next" and "previous" commands, the `<steps>` value may
        be `--all` (or `-a`) to take "As many steps As possible" or
        "step ALL the way" or "ALL steps at once" (or make something better
        up yourself).

        The following subcommands are available:

            `tg checkout next [<steps>]`
                                Check out a subsequent branch in the
                                dependency graph (see `tg info --series`).
                                Move `<steps>` (default 1) step(s) in
                                the "next" direction (AKA `n`).

            `tg checkout prev [<steps>]`
                                Check out a preceding branch in the
                                dependency graph (see `tg info --series`).
                                Move `<steps>` (default 1) step(s) in the
                                "previous" direction (AKA `p` or `previous`).

            `tg checkout [goto] [--] <pattern>`
                                Check out a topic branch that
                                matches `<pattern>`.  `<pattern>`
                                is used as a grep BRE pattern to filter
                                all the topic branches.  Both `goto` and
                                `--` may be omitted provided `<pattern>`
                                is not `-a`, `--all`, `-h`, `--help`,
                                `goto`, `--`, `n`, `next`, `push`,
                                `child`, `p`, `prev`, `previous`,
                                `pop`, `parent`, `+`, `-` or `..`.

            `tg checkout [goto] [--] --series[=<head>]`
                                Check out a topic branch that belongs to
                                the current (or `<head>`) patch series.
                                A list with descriptions (`tg info --series`)
                                will be shown to choose from if more than one.

            `tg checkout + [<steps>]`
                                An alias for `next`.

            `tg checkout push [<steps>]`
                                An alias for `next`.

            `tg checkout child [<steps>]`
                                Deprecated alias for `next`.

            `tg checkout`
                                Semi-deprecated alias for `next`.

            `tg checkout - [<steps>]`
                                An alias for `prev`.

            `tg checkout pop [<steps>]`
                                An alias for `prev`.

            `tg checkout parent [<steps>]`
                                Deprecated alias for `prev`.

            `tg checkout .. [<steps>]`
                                Semi-deprecated alias for `prev`.

        If any of the above commands can find more than one possible
        branch to switch to, you will be presented with the matches
        and asked to select one of them.

        Note that unless overridden by an explicit alias (see "ALIASES"),
        `tg goto` is an implicit alias for `tg checkout goto`.

        If the `--ignore-other-worktrees` (or `--iow`) option is given and
        the current Git version is at least 2.5.0 then the full
        `--ignore-other-worktrees` option will be passed along to the
        `git checkout` command when it's run (otherwise the option will be
        silently ignored and not passed to Git as it would cause an error).

        The `--force` (or `-f`) option, when given, gets passed through to
        the `git checkout` command.

        The `--merge` (or `-m`) option, when given, gets passed through to
        the `git checkout` command.

        The `--quiet` (or `-q`) option, when given, gets passed through to
        the `git checkout` command.

        The `<pattern>` of `tg checkout goto` is not optional and is
        intepreted as a BRE pattern (basic regular expression).  To select
        from all the available topic branches, supply `.` as the pattern.
        (In other words `tg checkout goto .`)

        Normally, the `next` and `prev` commands move one step in
        the dependency graph of the topic branches.  The `-a` option
        causes them (and their aliases) to move as far as possible.
        That is, `tg checkout next -a` moves to the final topic branch
        in the dependency graph (see `tg info --series`) for the
        current branch.  `tg checkout prev -a` moves to the first
        topic branch in the dependency graph (see `tg info --series`)
        for the current branch.  If there is more than one
        possibility, you will be prompted for your selection.

        See also "NAVIGATION".

