I want to write a python and django tutorial and combine this with hands on exercises. The tutorial will consist of a list of tasks to do: Step 1, Step 2, Step 2.2.... It wo
You could use a branch for every version, instead of using tags. If, for example "4" bases ond what you did in "2", you create a branch from "2" and commit your changes in "4".
Here's an example repository:

Steps to get this structure:
1 from master1git branch -d master2. (git checkout -b 2)2.1.23I've tried exactly this for a tutorial of mine with 5 stages. It's annoying to maintain and people have to understand git properly just to learn the subject which was, as I discovered, not necessarily true with a large audience. I'd recommend you go with a dumber approach and duplicate the code into multiple directories, one per stage.