use compare method instead equal operator to find "similar" refs
Merge pull request #67 from macgitver/feature/ReferenceView

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