It had been 2-1/2 months since B.J. Upton hit a home run and almost as long since Mike Minor gave up multiple homers. Both streaks ended Saturday the former helping offset the latter before the Braves pulled out a 5-4 win against the Marlins on Upton’s walk-off single with two out in the 11th inning at Turner Field. Upton and Chris Johnson had four hits apiece for the Braves each getting a big hit in the 11th as the Braves pushed their winning streak to six games. Coupled with the Nationals’ loss to the Mets the Braves’ victory reduced their magic number to 13 to clinch the National League East title. Any combination of Atlanta wins and Washington losses totaling 13 will give the Braves their first division crown since 2005. Upton had been mired in a 4-f0r-42 slump with one RBI and 21 strikeouts including strikeouts in his first two at-bats Saturday before he collected four consecutive hits including a two-run homer to tie in the sixth. His walk-off single came a 1-1 slider from right-hander Ryan Webb which Upton drove the other way to right-center. “It’s a start” he said. “I’ve been working hard all year and I’m finally starting to see some consistent results. Our season’s not over. Just going to keep playing keep working hard and sticking with what I’m doing.” With their league-leading 40th comeback win the Braves improved to 12-5 in extra-innings games and raised their majors-best records to 83-52 overall and 49-18 at home. They’ve gotten to this point with plenty of production from team home-run leader Justin Upton but little from his older brother who was batting .186 before Saturday. “The first couple of months of the season he’s had tough months” Braves manager Fredi Gonzalez said. “But nobody remembers when you did in April May and June if everything goes well and we go where we want to go and he continues swinging the bat that’s what he’s going to be remembered by.” The Braves are 18-3 in their past 21 home games and have four left on a nine-game homestand with the Mets due in next after Sunday’s series finale with the Marlins. Their 10th walk-off win was also the Braves’ 22nd win in their final at-bat second-most in the majors. After Johnson’s one-out single in the 11th he advanced on Brian McCann’s groundout. Dan Uggla walked before B.J. Upton singled to right field to drive in pinch-runner Paul Janish with the winning run. Upton had four hits Aug. 7 against Washington and four hits Saturday. In between those four-hit games he went 4-f0r-40. But the slender veteran has hit safely in his past four games and hit several balls on the nose Saturday including his opposite-field single to right-center that brought his teammates streaming out of the dugout to mob him. “You just keep at it keep grinding” Upton said when asked about remaining positive despite the season-long struggles and strikeouts in his first two at-bats Saturday. “My teammates have been behind me all year. They haven’t given up on me and that’s a good part of it. I’ve had their support all year and it’s meant a lot to me.” The Braves were in position to win in the 10th after Upton hit a leadoff single and advanced on Andrelton Simmons’ sacrifice bunt. But then pinch-hitter Justin Upton grounded out and after Jordan Schafer was walked intentionally pinch-hitter Gerald Laird struck out to end the inning. The Braves went 3-for-11 with runners in scoring position and left 15 runners on base. “I think at one point we had left a small village out there” Gonzalez said. “In regulation it was like nine or 10 guys on base. We had some situations. You always think that way — we didn’t get that add-on run those kinds of things are going to come back and haunt you. It didn’t today; our bullpen was really really good.” The Braves trailed 3-1 before Upton put a charge in a two-run homer to center in the sixth inning. It snapped a string of 142 homerless at-bats since he hit two June 15 against the Giants. Minor gave up five hits — including homers by Justin Ruggiano and Mike Stanton — four runs and one walk with six strikeouts in seven innings. He got no decision and has a 5-1 record and 2.95 ERA in his past 10 starts although the left-hander has allowed four runs three times in his past four starts and has a 5.40 ERA in that span.