I want to publish existing git repository on github. I find it unnecessary to provide personal data within git commit logs (name, email). Nevertheless, I want to store history of changes.
How do I strip/replace personal information from existing fully accessible git repository?
You should use
git filter-branch. For script example check this answer Change the author and committer name and e-mail of multiple commits in Git.