i want to restore my project in my yesterday file in Xcode, how can i do that? : i am a beginner in the iOS development, now i am trying to debug my code

as we know, Xcode is autosaving. i am debugging a chunk of code right now, but i am messed up, somehow it didn't work properly, i have tried using control + Z to get back, but it still didn't work.

i want to back to my yesterday xcode project file, but the problem is, i have not made any backup, and i have not made local repository. can get my previous version file back? 

does it work if i use git reset ?

    git reset

Thanks

