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.
I am also against specifically state sponsored gambling like the lottery. At least (non casino style day trading) investment in stocks has upside at all.
(Am partially sentient collection of coral, YMMV)