Unhandled dependency error when opening existing project (git and gitpython)

PsychoPy 2024.2.5 has just been released so you could try that.

Try uninstalling the previous version first.

You should probably also clear your users.json file.