How do you know a man invented knitting?
Some folks attribute the invention to a Scottish man who was designated a saint by his church for making caps. The members of early guilds were men. But the history probably goes way back to shepherds and fishermen. Also, look up the inventors of the early knitting machines. Interesting history, really.