You don’t need a MITM. Your public key is PUBLIC. All the public keys for every GitHub user viewable, and not by accident.