It's recommended to split a tutorial into mulitple logical steps.
Ideally, once a step has been completed by the user, they should be able to try it out ingame. A step consists of:
Goal / What and why are we going to do?
Instruction / How to do it?
Explanation / How does the config / feature work? This is tightly coupled with the instruction, e.g. using code block annotations.
(Optional) Downloadable Sample Solution / What to do if it does not work?
Sometimes it may not be practical to provide a downloadable solution for every step.
Since these downloadable solutions should always contain the progress from previous steps, they can also be provided in a later step.
Whenever you want to provide a downloadable example, you can use the /bq download command.
But when you do, always replace the git reference with the placeholder ${ref}.
This would then look like this: