When we run git branch command, it lists all the branches in our local repository. To see the latest commit associated with each branch, we use option –v.
Exact command for this is as follows:
git branch –v
It lists branches as:
issue75 83b576c fix issue
* master 7b96605 Merge branch ‘issue75’
testing 972ac34 add dave to the developer list