This reverts d0bb9d9624 from #31420 release notes: https://github.com/nodegit/nodegit/releases/tag/v0.25.0
d0bb9d9624