syncing local with repo