There are (all too rare) tools that back those objects with git as well.

And there's always fossil ...

https://fossil-scm.org/home/doc/trunk/www/index.wiki

But it's not git. :-(