The German national team's press service has officially announced the extension of head coach Julian Nagelsmann's contract until 2028.