The Nets have waited all season long for the Kevin Garnett who spent the past six seasons roaming the paint in Boston to arrive.

In the fourth quarter of Wednesday night’s game against the Warriors, he finally did.

Garnett turned back the clock, scoring 11 of his 13 points in the final 12 minutes — while also coming up with the game’s biggest defensive play — to lead the Nets to a 102-98 victory over the Warriors inside Barclays Center in Brooklyn.

With the win, the Nets (14-21) now have a four-game winning streak — their longest of the season — and finally climbed back into the Eastern Conference playoff picture, passing the Pistons to move into eighth place.

“I work on my craft every day, so I expect it to be a certain way,” Garnett said after going 5-for-7 to finish with 13 points to go with five rebounds, four steals and a blocked shot. “When I got to dial her up, I want her to pick the phone up. Tonight, I dialed and she was right there and answered like she was supposed to.

“I work really hard on my craft, and tonight I was able to get into a nice little groove, and some shots fell.”

It’s been a season-long struggle for Garnett to find his jumper. He entered the game shooting a career-worst 36.8 percent from the field in his first 30 games and was averaging just 6.3 points per game. Last Wednesday in San Antonio, Garnett said he had “no rhythm” and was trying to figure out where he fit into the offense.

But after taking — and making — just one shot through the first three quarters, the Nets, who remain undefeated in 2014, went to Garnett early and often in the fourth against the red-hot Warriors (24-14), who entered the game riding a 10-game winning streak and hoping to become the first team in NBA history to complete an undefeated road trip of at least seven games.

After opening the quarter with an and-one layup, Garnett then knocked down a pair of turnaround jumpers before hitting a stepback jumper over Warriors center Andrew Bogut to help the Nets stay even with Golden State through the early part of the fourth.