Make LogicalComparePredicate() and LogicalCompareBranchesPredicate() public

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Use libgit2 to get ref list in Reference Browser

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>