Change git provider to suit new transport API better, and fix a few error reporting glitches