BERLIN – Germany has extended temporary border controls for six months and informed the European Union, Chancellor Olaf Scholz said on Wednesday as he tries to show his government is combating irregular migration less than two weeks before an election.