Cleanup git.js library.

This is all already re-written in dart.
@devoncarew PTAL thanks.