get the parents of a <blah-branch>

git rev-list --parents <blah-commit>
beaaaafffff1111111111111111111 fe0000aaaad111111111111111

One of them will typically be the hash of <blah-branch> itself