Ubuntu - GIT - git rev-parse

To find out which commit object a tag or branch points to.

git branch
* master
  new-feature
 
git tag
v1.0
 
git rev-parse new-feature
c8d2325b3f06e139f6dea0dccbfac8062184ddf6
 
git rev-parse v1.0
52dfb067b89915668361f7f30fca92fd48fa8f2c