But hold on.
They could have git cloned your repo, used or otherwise analyzed your code which follows TOS then used the local git repo to pull your email address.
How is GitHub responsible here?