renaming classes and building head object
reading commit object contents and building commit