I have also removed the git folder before too, that has been my only solution sometimes, and I don’t really think it was a bad thing to do as it only removes what you have done locally on git.
My case is that I remixed my project from another project. Probably their git configuration was lingering around. Apologies if I am not wording these right. I am fairly new to code.
I just exported that project successfully, so that suggests the problem may be with the GH repo you’re exporting to, or your permissions on GH. If you can get this to happen again, you can keep Chrome from getting rid of the logs on the page reload by checking “Preserve log” on the Network tab in the console. If you can get more error info, that would help a lot.