got log and cat-file moved to pure ruby