Synchronizing with the local repository