Cleans the repository.