clean the master repository for sharing