Suppose following scenario.
Create a branch in a local git repository on the master branch.
Checkout new branch and do some commits.
Checkout master branch again.
Delete the newly created branch.
Now, Is there a way to go back to the last commit I made in the newly created branch if I do not remember the commit id of it?