Hiding your email on GitHub doesn't actually hide it if your local git config isn't updated. It gets permanently baked into your commit metadata.
GitLeak is a free tool that scrapes this data to instantly extract private information. Search your own username to test it out, it's free!