Added common base class for git object types