@tanky0u had the same idea for replicating data between qubes here You can also use git directly over qrexec.