get details commit according to hash code example
Example 1: git get current commit hash
git rev-parse HEAD
Example 2: git how to see changes made by a commit
git show <commit sha1> # Notice that the default option is HEAD.
git rev-parse HEAD
git show <commit sha1> # Notice that the default option is HEAD.