Hunter Pence returns to a dugout welcome from batting coach Hensley Meulens (in black pullover) and bench coach Ron Wotus after hitting his second home run of the game, off Dana Eveland in the ninth inning.

San Francisco Giants third baseman Joaquin Arias (13) greets San Francisco Giants right fielder Hunter Pence after the Giants 9-0 shutout of the New York Mets in a baseball game in New York, Sunday, Aug. 3, 2014. (AP Photo/Kathy Willens)

Photo: Kathy Willens, Associated Press

San Francisco Giants third baseman Joaquin Arias (13) greets San...

Image 3 of 9

San Francisco Giants' Hunter Pence runs out of the batter's box watching his ninth-inning solo home run off New York Mets relief pitcher Dana Eveland in a baseball game in New York, Sunday, Aug. 3, 2014. (AP Photo/Kathy Willens)

Photo: Kathy Willens, Associated Press

San Francisco Giants' Hunter Pence runs out of the batter's box...

Image 4 of 9

San Francisco Giants shortstop Brandon Crawford (35) greets San Francisco Giants right fielder Hunter Pence after the Giants' 9-0 shutout of the New York Mets in a baseball game in New York, Sunday, Aug. 3, 2014. Pence hit two home runs in the game. (AP Photo/Kathy Willens)

Photo: Kathy Willens, Associated Press

San Francisco Giants shortstop Brandon Crawford (35) greets San...

Image 5 of 9

NEW YORK, NY - AUGUST 03: Madison Bumgarner #40 of the San Francisco Giants pitches against the New York Mets at Citi Field on August 3, 2014 in the Flushing neighborhood of the Queens borough of New York City. Bumgarner tossed a two-hitter for a complete-game, 9-0 win over the Mets. (Photo by Jim McIsaac/Getty Images)

Photo: Jim McIsaac, Getty Images

NEW YORK, NY - AUGUST 03: Madison Bumgarner #40 of the San...

Image 6 of 9

NEW YORK, NY - AUGUST 03: Matthew Duffy #50 of the San Francisco Giants loses his bat as he strikes out in the seventh inning against the New York Mets at Citi Field on August 3, 2014 in the Flushing neighborhood of the Queens borough of New York City. (Photo by Jim McIsaac/Getty Images)

Photo: Jim McIsaac, Getty Images

NEW YORK, NY - AUGUST 03: Matthew Duffy #50 of the San Francisco...

Image 7 of 9

NEW YORK, NY - AUGUST 03: Buster Posey #28 of the San Francisco Giants scores a fifth inning run past Anthony Recker #20 of the New York Mets at Citi Field on August 3, 2014 in the Flushing neighborhood of the Queens borough of New York City. (Photo by Jim McIsaac/Getty Images)

Photo: Jim McIsaac, Getty Images

NEW YORK, NY - AUGUST 03: Buster Posey #28 of the San Francisco...

Image 8 of 9

San Francisco Giants starting pitcher Madison Bumgarner (40) throws from his knees trying to throw out New York Mets' Wilmer Flores in the eighth inning of the Giants' 9-0 shutout during a baseball game in New York, Sunday, Aug. 3, 2014. (AP Photo/Kathy Willens)

New York -- - A reporter was giving Hunter Pence a history lesson before this series, explaining how the calendar turned to July in 2010 and Buster Posey went on a hitting tear that helped propel a middling Giants team into contention.

Later in the conversation, which turned to the Giants' struggles in June and July this year, Pence smiled and said, "New month."

August is only three days old, but so far Pence owns it.

In Sunday's 9-0 carving of the Mets, a Madison Bumgarner two-hitter, Pence had his first two-homer game of the season and recorded a season-high four RBIs. He has seven RBIs in the first three games of the series at Citi Field.

Pence well knows the feeling of an outstanding month. When he hit 11 homers and drove in 32 runs in September, he all but forced the Giants to deliver that five-year, $90 million contract to his locker.

For a team that has struggled to score for two months, it's nice to daydream about Pence catching fire as he did in September, or as Posey did in July 2010.

"He's such a good player," manager Bruce Bochy said. "He's the type of player, when he does get locked in, he can carry a club. We've seen it. He's struggled here recently. It's good to see him break out and swing the bat well. It's always good when you see that from one of your core players."

Pence was in a 4-for-38 slump when he hit a two-run laser over the left-field fence to give the Giants a 2-0 lead against Bartolo Colon in the third inning. Pence also homered in the ninth against lefty Dana Eveland.

The Giants had their second four-homer game of the year, with Brandon Belt taking Colon deep in the fourth and Buster Posey adding a two-run homer to right-center off Carlos Torres in the seventh.

Posey had four hits and three RBIs to contribute to an offensive blitz - six runs in 4 2/3 innings off Colon - that amounted to overkill on a day the Mets had no chance against Bumgarner.

Pitching for the first time after turning 25 on Friday, Bumgarner threw his second career shutout and needed only 94 pitches, 75 of them strikes. He walked Curtis Granderson to start his day, allowed a Wilmer Flores double off the wall in the third and a David Wright single in the seventh.

Bumgarner struck out 10 and had a big hand in the offense, which no longer is novel. He singled and scored on Pence's fifth-inning double, then walked ahead of Posey's homer in the seventh.

With a .265 average and two grand slams, Bumgarner must be the Silver Slugger favorite among pitchers.

"It's pretty impressive," Pence said. "This year, it's not a fluke when he gets a hit or has great at-bats. It's consistent every time he pitches. His confidence in himself hitting kind of feeds into us. We all believe it's going to happen every time out there. It's remarkable for a guy playing one of every five games."

Bumgarner earned his 13th win, his ninth on the road, despite being "kind of all over the place" while warming up in the bullpen. That carried into the game when he walked Granderson, but he adjusted on the fly and was able to give the bullpen a day off.

"Fastball command is what set the game up for us," Bumgarner said. "When you feel good on a day like today, you can go after guys."

The Giants are 5-1 against the Mets this season, with one more to go Monday.