Mario Gotze scored the only goal of the pre-season clash from the penalty spot after Oleks Zinchenko had brought down Christian Pulisic.
The majority of Guardiola’s squad are on breaks after their World Cup exploits but new signing Riyad Mahrez made his first appearance for the club against the Germans in a youthful line-up.
Guardiola told the club’s official website after the game: “We did many good things. It is really good for the future. We played against one of the best teams in Germany and we did many good things.
“We spoke in the week about courage, intensity and a desire to play. The players did very well and I am so satisfied with the performance of these guys.”
Since Guardiola arrived at City as boss in the summer of 2016, Hart has had season-long loan spells with Torino and West Ham.
The 31-year-old, having missed out on a place in England’s World Cup squad, was included in the City squad for their pre-season tour in the United States.
When Guardiola was asked about Hart on Friday at a press conference in Chicago, he said: “Joe is our player, so in that situation he is here and we are going to try (to find) a solution for him, for the best for him. If not, he will stay here.
“He is a player who is one of the most incredible professionals I have ever met. He is training like a young guy, 18 years old. I know it is not easy for him, what happened in the last period.
“But he is with us. Tomorrow he is going to play (against Borussia Dortmund).”
Hart, who has been with City since 2006, has one year left on his contract with the club.
Also in the squad is City’s summer signing Riyad Mahrez, the winger recruited for a club-record fee of £60million from Leicester.
The Premier League champions had hoped to sign Jorginho from Napoli as well, but the midfielder moved to Chelsea last week, on the same day his boss at the Serie A club Maurizio Sarri was named as the new manager at Stamford Bridge.
Regarding Jorginho, Guardiola said: “I’m not disappointed. We tried. “My advice for all players is they have to go where they want to go, and in the end it would have been a mistake for him and for us if he’d decided to come here when he wanted to go with Maurizio and Chelsea.
“English football receives an exceptional player. All the best for him.” Guardiola also said of City winger Leroy Sane being left out of Germany’s World Cup squad: “Maybe this decision will make him stronger.”
Pep Guardiola‘s exhilarating side did celebrate after sweeping aside almost all before them to claim the title with five games to spare – but even amid their partying their intensity on the pitch barely dropped.
City went on to roar through their closing games, racking up record after record as they wrapped up the campaign with a flourish.
City finished the season with 100 points, 32 wins, 106 goals and a 19-point advantage over nearest rivals Manchester United – all new records.
Guardiola has never tolerated complacency in his near-relentless pursuit of success throughout his managerial career and this was clear indication that the gauntlet for the following campaign was already being thrown down.
City will begin the 2018/19 Premier League season as favourites and with considerable justification.
The football they played last term was near perfect and the title was all but wrapped up during an 18-game winning streak – another record – before new year.
After a year to settle in and mould the squad to better suit his vision, Guardiola had City playing a quick-moving, possession-based game that could tear opponents apart with quick breaks and incisive passing.
Kevin De Bruyne and David Silva pulled the strings, Raheem Sterling and Leroy Sane added flair, Sergio Aguero was clinical, Fernandinho gave extra impetus and John Stones, Nicolas Otamendi and ball-playing goalkeeper Ederson ensured everything kept ticking over.
It was a formidable machine with further threats coming from Kyle Walker on the right.
Yet there is no resting on laurels. In January, City broke their transfer record to sign Aymeric Laporte for £57million and since signing off last term they have pushed the figure out again, spending £60million to recruit Riyad Mahrez.
The feeling is Laporte, as he settles into the English game, will give City even more drive from the back while Mahrez will bring even more attacking weaponry.
The onus is very clearly on other teams to stop them. Last season, only Liverpool proved capable of beating City by taking them on at their own game.
Most sides that attempted that were made to suffer and so many opponents opted to sit back and play cagily, hoping to stifle them and perhaps take the odd set-piece or counter-attack. Although United did catch them out in a remarkable derby at the Etihad Stadium, that also was a strategy that largely failed.
With a young, hungry squad and Guardiola now getting his teeth into the project – a fact underlined by his recent contract extension – this City era could only just be beginning.
Obviously other factors could come into play, such as injuries or possible post-World Cup fatigue, but rarely can a club have started a season in better shape than City this time. Rival managers eyeing their crown have their work cut out to stop them.