More portable git sync