Check the "Block command line pushes that expose my email" option in [the e-mail settings](https://github.com/settings/emails)

```bash
$ git config --global user.name username

$ git config --global user.email username@users.noreply.github.com
```
or

```bash
$ git config --global user.email id+username@users.noreply.github.com
```