is there a possibility to get all branches of an git repository with thier head commit.
If I have the following repository:
* b562239 (HEAD -> master) lastCommit
* 3828834 (seccondBranch) seccond Commit
| * 3f6fdf6 (firstBranch) branchCommit
|/
* b051ccd init repo
I want to get a list like that:
master b562239
seccondBranch 3828834
firstBranch 3f6fdf6