Prepare new repository.