You can use the Download From Version Control Server option. Select the version you need, and choose a new directory. Make sure you then open your project from this directory. If you are sure your old directory is no longer needed, you can also delete this.
https://docs.mendix.com/refguide/download-from-version-control-dialog/
I hope this helps.