How do I fix “remote: fatal error in commit_refs” errors trying to push with Git?
In my case, GitHub was down by the time I was trying to push. Just check https://www.githubstatus.com to know about GitHub site status. When it’s up you’ll be able to push.