Original: It comes from "Minas dos Matos Gerais", the former name of the colonial province, which means "Mines of the General Woods".
Simplified: The name means "General mines".