The Phillies erased a ninth-inning deficit and walked off the Giants 6-5 in 10 innings at Citizens Bank Park, with Alec Bohm delivering the decisive sacrifice fly to center field that scored García.
Kyle Schwarber carried Philadelphia's offense with a perfect 4-for-4 night that included a home run and two RBI. The leadoff man also drew a walk and scored twice, extending his season totals to 11 home runs and 20 RBI while raising his average to .225. Trea Turner added two hits including a solo homer, going 2-for-5 with two runs scored.
The game turned on two crucial ninth-inning moments. Jung Hoo Lee's single to center scored Schmitt to give San Francisco a 5-4 lead, but Philadelphia answered immediately when Schwarber doubled to right, bringing Marsh home to tie the game at 5-5. The extra frame settled quickly when García scored on Bohm's sacrifice fly.
Matt Gage took the loss for San Francisco, allowing one run in two-thirds of an inning. Chase Shugart earned the win for Philadelphia with a clean inning of relief, striking out one while carrying a 1.00 ERA.
Philadelphia snapped a losing streak to improve to 10-19. San Francisco fell to 13-16.