add git sync function support