Support Git worktrees for sync
#1831
+271
−26
Merged
sync
#1831