How to raise children with git would be more apropos for hacker news.
Encourage Experimentation: Branch to explore interests or try new skills without fear of failure. Abandon a branch if it doesn't work.
Merge conflicts: calmly analyze, resolve, and move forwards, just like merge conflicts in git.
Commit early; commit often: break challenges down into smaller parts, just like with git.
Accountability: Pull Requests and code review but in real life.
Autonomy: Fork the project and make it your own.
Working with others: be open source.
Acknowledge Mistakes: git keeps a history of changes, so that we can look back and then improve on what didn't work.