Add createFromObject(CommitInfo) method