You should not use Git as a database
My team inherited a system that stores its data on a file system, constantly being saved to Git, acting as a single source of truth. Is it better or worse than a database? The short answer is, of course, “it depends on your use case”.