Add "head" segment

Display the abbreviated sha1 of the current HEAD (for git).