Syncing by merging changes and resolving possible conflicts is a much harder task. Theoretically git has all the right bits, including the pluggable diffing and merging. In practice, I haven't seen it seriously used in this capacity.
This is to say nothing about files you only want on one node but not on another (heavy stuff lives on server and laptop, but not mobile, etc.)
This is why special-case syncing tools that know how to sync semantically are indispensable.
What do you mean? What is preventing you from using git to sync your notes?
The thing is that you should not expect a user to explicitly host a git repo somewhere to for a grocery list app. Most apps are designed for users who are unwilling to do that, and are actually ready to pay to avoid whatever technical hurdles.
OTOH I see a niche for an app geared towards more technical users, chich would, among other things, allow you to point at a git / hg / whatever repo to use as the synchronization point.
And it has 15 GB free forever, just like Google Drive.
Mega sync has native clients in MacOS, Linux, Windows, iOS, Android.
[0] https://developer.android.com/guide/topics/providers/content...
But you can always tweak settings to run the 3rd party sync app always in the baclground, and override the battery optimization setting for that particular app.