I have an issue similar to one reported here but I am not able to solve it. I am not able to add a comment on that post because my reputations are low. I uninstalled VScode and removed the ".vscode" folder from Appdata folder. Also searched my C drive and removed all workspace files. Still after installing VScode I am facing the same issue.
Any advise on how can I solve this?
Removed Vscode and Git again, re-installed them again and now I am able to publish my new changes to gitHub.