The Astros are recalling left-handed pitcher Cionel Perez from Double-A Corpus Christi in a corresponding move.
Hinch pulled Giles in the ninth inning of Tuesday's 6-5 win over the Oakland Athletics at Minute Maid Park after the righty closer gave up two hits without recording an out.
Giles' troubles date back to the playoffs last season. Nearly more memorable than that was Giles punching himself in the face after giving up four runs to the Yankees in the ninth inning on May 2.
The righhander has a 4.99 ERA with 12 saves and 21 strikeouts this season. He would go on to allow both of the inherited runners (plus another batter) to score, tying the game at 4 all. The game was ultimately tied and the Astros lost in extra innings. Giles was acquired in a trade with the Phillies before the 2016 season.
Fellow right-hander Hector Rondon then took the hill with a 4-1 lead and runners on first and second.