Cannot push experiment to Pavlovia

Traceback (most recent call last):
File “/Applications/”, line 2820, in onPavloviaSync
File “/Applications/”, line 844, in syncProject
File “/Applications/”, line 125, in showCommitDialog
File “/Applications/”, line 1107, in getChanges
File “/Applications/”, line 951, in repo
AttributeError: The requested local path for project
sits inside another folder, which git will not permit. You might like to set the project local folder to be

OS (e.g. Win10): iOS Sonoma 14.3
PsychoPy version (e.g. 1.84.x): 2023.2.3.
Standard Standalone? (n) If not then what?: Initial push to Pavlovia, standalone works.
What are you trying to achieve?: Running my experiment online.

What did you try to make it work?: I moved the experiment to the suggested directory. That does not make a difference.

What specifically went wrong when you tried that?:
It tries to commit all the files on my local machine.

Where is the experiment file currently?

In a folder on my local drive. I tried it from iCloud but that didn’t work either. However that gives me a different error:

Traceback (most recent call last):
File “/Applications/”, line 1452, in onPavloviaSync
File “/Applications/”, line 854, in syncProject
File “/Applications/”, line 47, in sync
File “/Applications/”, line 844, in sync
File “/Applications/”, line 1031, in firstPush
File “/Applications/”, line 542, in
File “/Applications/”, line 1005, in _call_process
File “/Applications/”, line 822, in execute
git.exc.GitCommandError: Cmd(‘/Applications/’) failed due to: exit code(1)
cmdline: /Applications/ push -u Sign in · GitLab master
stderr: ‘error: src refspec master does not match any.
error: failed to push some refs to ‘Sign in · GitLab’’

This issue is now resolved. My local machine defaults to naming the main branch “main”, instead of pavlovia’s desired “master”. It appears this naming conflict was the root of the issue.

To fix the issue, one can create a new project on the gitlab page, then add all the documents, and clone it to your local machine. I’m sure there are less onerous ways to do it, but this does the trick.