clean up the repository