I am working with a Mac M1.
Last week I was working fine with VSCode and Github. I was editing some markdown files and pushing the changes I made to the files. However, I deleted my account from GitHub, created a now I'm getting that permission error. I have tried for 3 hours and even created an SSH key again that I added to GitHub, but still I cannot get it to work.
The last thing I tried was cloning the repo, adding it to vscode, pasting the files inside the folder associated to the repo, but when I tried to push the changed I got the error again.
I can do it using the GitHub desktop app, the issue is with VSCode.
Help please.
[![Permission error][1]][1]