added syncing with bare repo