Given up mucking around with node-git integration in favour of shelling out to git itself.