It was implied that he got it when he tilted the sword forward and managed to make his first decent attack against Yui. I do hope that they elaborate more on that in the next episode.