When you’re using GitHub, you may have encountered a fatal error in commit_refs. This occurs when a branch fails to be committed, or when a change is not committed. In such a case, the git repo will fail to commit changes. If you’d like to find out why, read this article. It will explain the problem and how to fix it.
How to Fix a Fatal Error in Commit_Refs in GitHub