Keller's Learn to Read Latin says
virtis, virtutis f. is an abstract noun formed by the addition of the suffix -tis to the stem of the noun vir. Its specific sense is thus "manliness" or “courage,” but it also may refer more generally to any intellectual or moral "excellence" or “virtue.”
Why is virtis a feminine noun, when it can mean "manliness"?