When not on a specific branch, output the short ref and list any tags pointing at HEAD