Git throws Error: Bad status code: 500; error: There was a problem with the editor “git-editor.sh” Please supply the message using either -m or -F option, when you forget to provide message in your commit.
Solution
You need to provide message in your commits –
git commit -m "your message"
If you are using visual studio code, then provide message from commit box –
If you won’t provide any message in the box, then a full screen message file will open –
You need to add the message at the top (line 1st).