It seems there's no timeout option from [`NodeGit`](http://www.nodegit.org/api/). We need to either fork `NodeGit` and add this feature, or switch some other library. Changing the language is an option.