This is great idea. I always had other way to keep my learnings at a single place, for which I have used Anki tool. At times, down the line I open my Anki tool and see those flash cards on how much I really remember. This was very fun to me and also at the same time very good learning.
Git looks to be an awesome idea. Thanks for your efforts.