Recently I was trying to commit some changes to my Github repositories using flutter code, below error is seen: Git: Bad Status Code: 500 in VSC (Visual Studio Code).

I would share the steps that helped me out to fix the Git: Bad Status Code: 500 in VSC (Visual Studio Code) issue.
Why Git: Bad Status Code: 500 in VSC (Visual Studio Code) Error is Seen?
This error is basically seen when you leave message option as blank before committing the code. So just add some value to message filed and run the code again, it would solve the Git: Bad Status Code: 500 in VSC error.

How to Fix Git: Bad Status Code: 500 in VSC (Visual Studio Code) Error?
To fix the Git: Bad Status Code: 500 in VSC (Visual Studio Code) Error, input the value into message filed and run the code again, it would solve the issue immediately for you.
Sometime when don’t add any value to the message filed before committing the code, it throws the error Git: Bad Status Code: 500 in VSC (Visual Studio Code) Error.
So to fix the error, just add the any input the value into message filed and run the code again, it would solve the issue immediately for you.
Fix 1: Add Message Value into Commit Input Box
When you click on the commit button, it asks for including the message input value but sometime it doesn’t ask you you to add the message value. So just add some message field value as per your requirement and. it would solve the error Git: Bad Status Code: 500 in VSC (Visual Studio Code).

Fix 2: Untick the “Git: Use Editor As Commit Input” in Settings
Go to the Settings, search for option “Git: Use Editor As Commit Input” and untick and save it. Now you are having the access privilege to run the code without no message provided in commit input Box.
Once done, re-run the code again and Git: Bad Status Code: 500 in VSC (Visual Studio Code) Error would be resolved for you.

Conclusion
To fix Git: Bad Status Code: 500 in VSC (Visual Studio Code) Error, Either input the value into message filed in commit input Box and run the code again or Go to the Settings, search for option “Git: Use Editor As Commit Input”, untick and save it. Now Git: Bad Status Code: 500 issue will be resolved for you.