Julian Nagelsmann has been confirmed as the new head coach of Bayern Munich and will begin his new role on July 1 .