Failing to push files to Pavlovia after removing an experiment from GitHub

I managed to upload a simple priming experiment to Pavlovia and pilot it succesfully. I then removed it in GitHuB. I’m using 2020.1.3

When I tried to upload a similar experiment from the same root folder location, I get the ‘404 Not Found nginx’. I followed the same steps, Export HTML - Run the study online. PsychoPy asks me to (re)create a project, I give it a name and a description and am then met by the 404. The experiment doesn’t appear on my experiments list.

This is the output PsychoPy gives me

Pushing files to Pavlovia
Pushing to Pavlovia for the first time...Traceback (most recent call last):
  File "C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\pavlovia_ui\project.py", line 516, in syncProject
    project.firstPush(infoStream=syncFrame)
  File "C:\Program Files\PsychoPy3\lib\site-packages\psychopy\projects\pavlovia.py", line 822, in firstPush
    info = self.repo.git.push('-u', self.remoteWithToken, 'master')
  File "C:\Program Files\PsychoPy3\lib\site-packages\git\cmd.py", line 548, in <lambda>
    return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
  File "C:\Program Files\PsychoPy3\lib\site-packages\git\cmd.py", line 1014, in _call_process
    return self.execute(call, **exec_kwargs)
  File "C:\Program Files\PsychoPy3\lib\site-packages\git\cmd.py", line 825, in execute
    raise GitCommandError(command, status, stderr_value, stdout_value)
git.exc.GitCommandError: Cmd('C:\Program Files\PsychoPy3\MinGit\cmd\git.exe') failed due to: exit code(128)
  cmdline: C:\Program Files\PsychoPy3\MinGit\cmd\git.exe push -u master
  stderr: 'fatal: 'master' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.'

Deleting the local .git repository and HTML folder did the trick.