partial Git sync implementation