use git sync instead of checkout method