clustering first commit -cosine similarity