Think this `git_atomic_inc` needs to come after the call to `pthread_once` so the second thread will have the chance to block if the first thread is still running.