fixed pointer comparison
added virtual destructor
Merge pull request #23 from macgitver/fix/GitPtr

fixed pointer comparison