Braves 9, Giants 8, 12 innings

How the game was won: With the Braves trailing 8-7 in the bottom of the 12th, Adonis Garcia hit a walk-off two-run home run to right-center field to win 9-8.

The Braves also came back in the ninth, tying the game on A.J. Pierzynski’s two-out, two-run home run.

Mike Foltynewicz threw six innings and allowed nine hits, six earned runs and one walk. He didn’t strike out anyone. All six of his runs allowed came on four home runs: back-to-back shots from Brandon Belt and Brandon Crawford in the second, a two-run home run by Posey in the third and another two-run home run by Crawford in the fourth.

The Braves trailed 6-0 going into the bottom of the sixth, but Jace Peterson hit a three-run home run that inning and Chris Johnson followed with a solo shot in the seventh.

Number: 6. The number of starts it took Foltynewicz to allow his first four home runs this season.

What's next: Shelby Miller (5-8, 2.44 ERA) will go for his first win since May 17. He'll start against Jake Peavy (2-4, 4.12 ERA). First pitch is set for 7:10 p.m.