Basically, I want to synchronously share files betweem iPad and linux PC, mostly just the PDFs (compiled from latex). I don’t want to send files back and forth every time, I want changes on one side to be reflected on the other. I do not need write access from both, it is enough for me to be able to e.g. view from iPad an article written in PC.

Should I just and rely on iCloud? I feel like that’s not ideal from privacy standpoint. Is there better alternatives?

Mayybe it would be great if I could somehow use git for this purpose. Is this possible?