Display the commit name instead of the relative name

git show-branch

git show-branch --sha1-name --current {{current|branch_name|ref}}

click the source code to copy install git show-branch on any operating system with command-not-found.com