how to recover deleted project?

I made a game in. unity and then decided I didn’t want it and wanted to delete it. instead, I accidentally deleted a different game. how do I recover the game I accidentally deleted?

if it changes anything, I an using a mac for unity

I don’t know about recovering deleted files on a Mac. However, if you are using Unity Hub and you just removed the project from the project list, the project is still on your hard drive.

İf you deleted from your computer completely you can get it again but if you deleted it from only in unity maybe its in the recycle bin