Create class for check commits.