A gas connector is used to get from the main gas piping to the appliance. Gas connectors should never be used as a substitute for gas piping. This means that if you ever see two connectors joined together, it’s an improper installation.
You should have a license gas technician install and connect up your gas appliance.