move nodegit.js to a template to remove idefs dependency