Randomly select one commit.