If you received the error below after performing git push, one or more of your commits use a private e-mail address. This is because your current Github setting prevents you from doing that.
remote: error: GH007: Your push would publish a private email address.
remote: You can make your email public or disable this protection by visiting:
remote: https://github.com/settings/emails
If you don’t want to turn that setting off, you can instead use the no-reply email address that Github provided for you in the settings.
git config --global user.email "ID+USERNAME@users.noreply.github.com"
Bou also need to ensure that the latest commit’s author uses the previously set e-mail address
git commit --amend --no-edit --reset-author