How to clean a git repository

Sorry, this entry is only available in French.