putting all the commit details into a commit div