I have been burnt by Dropbox in the past so now use Syncthing between my desktop, laptop, and a private remote server with file versioning turned on. Trivial to global ignore node_modules, and not giving data to a third party.
It's saved me on several occasions.
And even if you jump from higher up, it's the ground that does it, still not the Burj Khalifa.