How to delete all commits in a git repository and effectively restore it to factory settings.