The data format of Anki is a bit complicated but at least it's SQLite. I've seen a ton of shared decks and resources on ankiweb, but it's true you can't easily put them on GitHub.
(Anecdotally, Anki has seen a huge quality increase in the past couple of years.)