Simply script by using '-short' argument to git symbolic-ref