When I using gulp.wach to run tests (mocha) on each changes of the files, nodegit initialized without error only first time. I've created repo to reproduce this problem (see README for error stack).
Please check it, if you have a time https://github.com/c301/promisify-issue