While testing some functionality of GitHub Windows, an error occurred while committing. To be exact, the error displayed is Commit failed: Failed to create a new commit. We tested it on different projects and the commit was successful.
SOLUTION
GitHub Windows give a possible solution to this error, it advise the user to do it on Windows PowerShell and use the command line to commit the files. If you are not sure what the command is then see the command below.
$ git add -all $ git status $ git commit -m "Put The Changes Made"
Go back to GitHub Windows and refresh your repositories.