(push declined due to email privacy restrictions) github code example
Example 1: git error push declined due to email privacy restrictions
Try unchecking the “Block command line pushes that expose my email” box in your email settings and then pushing again.
Example 2: Meaning of the GitHub message: push declined due to email privacy restrictions
git config --global user.email {ID}+{username}@users.noreply.github.com