I have the same problem. I put both words into Google Translate and hit the speaker button and heard a minor difference, but they still sound almost identical to me. The "ch" in machst is pronounced like the ch in Loch Ness Monster. The g in magst is pronouced more like a K from the back of your throat. Very similar sounds. I wonder if native German speakers can hear a distinct difference.