@mhoye We keep trying to reinvent Lotus Notes. I remember I gave a presentation at my local Linux User's Group about Coda last millennium, which worked this way. Nowadays mostly I use Git, but Git doesn't sync opportunistically, which is what you want. Fossil does, but I haven't tried Fossil.