It would be really helpful to go into some detail on the steps taken to clean up the git history.
Don't be deceived by the "java" invocations, it's written in Scala, so it's HN-approved!
http://git-scm.com/docs/git-filter-branch
But you can do almost anything via custom scripts.