Have you considered ResilioSync?
It doesn’t store your data, and only syncs between machines.
I’m running it on Win, Mac, Linux, iOS, and on my Synology as a Docker container.
It’s syncing about four folders, Obsidian notes, my research code/data folders, a folder I call Sync for miscellaneous cross platform syncs.
It just works and the only time I really think about it is setting up a new folder.
I use the selective sync extensively, so the placeholders for folders and files are on, say, my laptop, but the gigs of fmri data aren’t downloaded.