used especially in questions and negative statements about whether something makes a difference“I’ve forgotten my swimming stuff.” “It doesn’t matter – you can borrow these.”
it matters that: I don’t think it matters that he hasn’t got a degree.
it matters which/whether/how etc.: It doesn’t matter how you look at it: the problem remains the same.