I do not know the answer already, but wanted to make a suggestion, since there is at least one person now working to actively improve the tutorials documentation and code (Github user id Abhinavcode13 (Abhinav kumar) · GitHub ). I will let them know about this question to see if they know the answer, or can find out.
If you are willing to try experimenting a bit, I’d recommend trying to take a working exercise that has commands like this, ensure that it works as described in the current README directions for that exercise, then remove those commands and try to run the exercise again, and see if anything behaves differently. If things break when you remove them, you have some pretty strong evidence that they are doing something that enables the exercise to work. Determining exactly what they are doing that is helpful might require more thinking, reading of documentation, experiments, etc.
If you or someone else comes to any good conclusions about (a) whether they are needed, and if yes, (b) why they are needed, please consider adding some notes to the README for the exercise that explains what you have learned.