I use git as it even has a native interface; you only need to init the vault as a repo yourself. Then you can host that repository wherever you want, be it your own VPS, your local server, your local computer, a Git hosting service (e.g. github, gitea).
So to speak, what you get by Obsidian sync for your money is not having to deal with the hassle on hosting it yourself.