Duplicate git_error before passing it on as it will cross a thread boundary.
Regenerated sources.
Checking for nulls; freeing memory
Merge branch 'master' of github.com:nodegit/nodegit