I am very new to git usage and finding it very confusing to understand the branch/commit management. Anyway, the project I am working on is managed by git, and I am using gitk for it. Using gitk I was making commmits, and checked out a previous commit. And now when I do Visualize HEAD's history, the commit that I checked out appears last and my other 5 or 6 commits after that have disappeared.
Please note that I was working on master branch - but for some reason I was not on master branch right Now. That is to say the gitk visualization was like this:
commit 14 . . . commit 9 . . master . . . . commit 1
I checked out commit 9 and I don't have any commits hash codes either.