since it has been migrated to use cpp method and the single type parameter is removed, more details: adcc5c520a https://github.com/nodegit/nodegit/blob/v0.26.0/lib/repository.js#L353 https://github.com/nodegit/nodegit/blob/v0.26.0/lib/repository.js#L1266
adcc5c520a