GitHub API: Scrub Personal Information

I’ve noticed that when someone accesses the GitHub API that they can find personally identifying information on accounts by looking at past commits to repositories. For example, when someone changes their email preference from public to private, you can still find what they email actually was before it was removed from their profile.

Are there any workarounds to prevent this from happening?