Add gitsync and move http to c