Corrected Git::Reference comparison to highlight references pointing to head commit