But the hosts hit back and snatched the lead with a decisive four-minute stretch to start the second half.
Cristhian Stuani evened the scoreline in the 54th minute, when he latched onto a loose ball and fired his low shot past Kiko Casilla from inside the box.
And Portu sealed the points four minutes later, sensationally back-heeling Pablo Maffeo's low cross to the delight of the home faithful.
The result keeps Real in a tie for third place with city rivals Atletico Madrid, eight points behind leaders Barcelona. Girona move up to 11th.
Getafe produced a superb second-half performance to come from behind and beat Real Sociedad 2-1 at the Coliseum Alfonso Perez.
The visitors took the lead after just five minutes when Adnan Januzaj picked up the ball just inside his own half and was allowed to advance unchallenged before playing a perfectly weighted ball to Mikel Oyarzabal, who fired a first-time finish into the bottom corner.
Getafe offered little going forward in the first half but were a different side after the interval and deservedly equalised after 78 minutes as Francisco Portillo's superb pass allowed fellow substitute Angel Rodriguez to control on his chest before firing home.
And the home side secured all three points five minutes from time when Inigo Martinez brought down Rodriguez in the area and Jorge Molina scored from the spot.
Eibar fought back from two goals down to draw 2-2 with Levante.
Jose Luis Morales gave the visitors the lead in the 35th minute, and two minutes later they doubled their advantage through Enis Bardhi.
But Eibar gave themselves a lifeline six minutes after the break with a goal from Anaitz Arbilla and Charles earned the strugglers what could prove to be a very valuable point with the equaliser in the 74th minute. PLACE YOUR TEXT ADVERT BELOW:>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> How I Made Me =N=2.5 MILLION In 7 Days from 2 Common Product I Imported and how you can do the same. Click HERE FOR FREE Details right now Warning To Men: This 3 Foods Is Killing Your Erection. Click Here To Know Them Secret Fruits that increased my Manhood and makes me last 55 minutes+ all time - Click here to get it Warning: Got Arthritis? 3 Simple Ways To Get Cured And Be Permanently Free From Joint Pains. Click Here To See Them REVEALED!! Reduce Your Blood Sugar Level And Reverse Diabetics Within A Short Period Of Time. Click Here To See How MIDNIGHT,Pressed Mr Kilanko Suddenly Couldn't Urinate. Shrink your Enlarged Prostrate Here! Click Here Now