go to particular commit in git

Safe way to do this by creating a new branch with a particular commit hash.

Here is an example:

git checkout -b new_branch 6e559cb( replace with your hash )

That’s it!!!