I've been taking the position that the thread-safety of libgit2 level stuff is libgit2's responsibility.