The history of project is stored in the hidden folder that git provides us named as .git.
when you initialize git then this hidden folder is automatic created
to restore the changes without commit
git log command to check the history
then again use git log