$ git show 12a86bc38 # By revision $ git show v1.0.1 # By tag $ git show feature132 # By branch name $ git show 12a86bc38^ # Parent of a commit $ git show 12a86bc38~2 # Grandparent of a commit $ git show feature132@{yesterday} # Time relative $ git show feature132@{2.hours.ago} # Time relative