Showing commit in class