How to create a repo from a template with all branches via CLI

I’m trying to create a repo from a template repository using the gh cli.
When I create my repo and attempt to switch to one of the branches from the source repo, it does not exist.
What is the CLI equivalent to the “Include all branches” checkbox?

Hi there :wave:

Welcome to the Community!
Is there a reason for choosing a template over a fork in this case?