Issue : Github stopped accepting Push

I just woke up one day and found myself in a situation where my github repository stopped accepting pushes from my local computer.

This continued for many days until i finally figured out what was wrong. The problem was with the email setting which i changed recently.

If you check on the “Keep my email address private” setting. The github will stop accepting your pushes.

So uncheck this setting and enjoy.

Stackoverflow Link