Git works pretty well for syncing binary files. You can even do this:
$ cat .gitattributes
*.db diff=sqlite3
And you can know how the sqlite files changed between commits--but yeah if you make commits while a process is writing new rows or updating data then you'll have data loss if you make a commit on another machine--better to use something like litestream in that case