Provide a mechanism for system components to register for initialization and shutdown of the libgit2 runtime.