My company built a SQL database with git semantics. It's called Dolt. Instead of versioning files, it versions tables. Find out more at https://www.dolthub.com. We just launched the project open source: https://github.com/liquidata-inc/dolt. Please help us out with a star or even better download it and try it out.