refactored code for list of commits
refactored code for list of commits

mhthies/gitlist,Halasson-simatupang/gitlist,yeriomin/gitlist,DannyvdSluijs/gitlist,garygreen/gitlist,gencer/gitlist,Halasson-simatupang/gitlist,jannae/gitlist,jadwigo/gitlist,hubdotcom/gitlist,danielgtaylor/gitlist,tassoevan/gitlist,garygreen/gitlist,mhthies/gitlist,yeriomin/gitlist,yeriomin/gitlist,jannae/gitlist,jannae/gitlist,klaussilveira/gitlist,jadwigo/gitlist,NeilBryant/gitlist,fredericksilva/gitlist,DannyvdSluijs/gitlist,Rheinschafe/gitlist,garygreen/gitlist,NeilBryant/gitlist,fredericksilva/gitlist,jadwigo/gitlist,Rheinschafe/gitlist,thedancomplex/gitlist,thedancomplex/gitlist,gencer/gitlist,tassoevan/gitlist,DannyvdSluijs/gitlist,NeilBryant/gitlist,fredericksilva/gitlist,tassoevan/gitlist,hubdotcom/gitlist,gencer/gitlist,thedancomplex/gitlist,mhthies/gitlist,klaussilveira/gitlist,danielgtaylor/gitlist,hubdotcom/gitlist,Rheinschafe/gitlist,Halasson-simatupang/gitlist