Syncing repository with local changes