Add checkout support to sync-all