to delete the local html-folder (not needed in recent PsychoPY-versions),
delete the hidden .git-folder and .git-ignore file.
delete the project on Pavlovia and
resync to a new project.
You might have still to clear browser cache. I am not quite sure whether you really have to delete anything more than the .html-folder because I vaguely remember that this was sufficient for one of my experiments.