Modify viewcommit and viewBlob to use gitty, added needed methods to gitty