All under ground plastic gas poly pipe requires a special anode less end to attach to above ground. They have threaded ends to adapt to metal piping. I have repaired the orange gas poly you have using the fitting pictured above.
The picture you posted of the gas poly connecting to the metal pipe above ground is un-safe and not up to standards of the National Gas Code