The hosts dominated their Group A3 matchup as Niclas Fuellkrug expertly tapped in a goal off a precise pass from midfielder Musiala in the 27th minute, showcasing their impressive passing abilities.
With Hungary pushing for an equaliser, Musiala struck on the break in the 58th, completing a quick counter-attack from a visitors' corner.
Florian Wirtz then drilled in their third after a one-two with Musiala in the 66th before Havertz hit the woodwork once more. Man-of-the-match Musiala then sent through Aleksandar Pavlovic in the 77th to slot in and Havertz also got onto the scoresheet with an 81st minute penalty.