parse git log and creates commit objects list