pygit2 should work with libgit2 built with THREADSAFE=ON
Merge remote-tracking branch 'cboos/THREADSAFE-compatibility'