to clean the repository