Link and Ghirahim are enemies. Ghirahim attempts to capture Zelda but this fails because Impa intervenes. He attempts to chase after the spirit maiden and encounters Link in the Skyview Temple who manages to defeat him. Ghirahim vents his whole plan to Link and almost manages to catch them at the Temple of Time until the hero stabs him from behind. The evil sword spirit is very angered and decides that he wants to dispose of Link.
Ghirahim and Link continue to run into each other. At one point, Ghirahim offers to spare Link's life if he reveals the location of the second gate of time but the hero refuses. He later manages to abduct Zelda and revive Demise. Ghirahim reveals his true form during the ritual and fights Link at full power but is still defeated. However, this turns out to be a ruse in order to give the ritual to revive Demise time to finish.
GhiraLink is a rather popular ship and is one of the more popular slash ship in the Zelda fandom despite the fact that the two are enemies. This is most likely due to the fact that most fans find Ghirahim to be very flamboyant and assume that he is gay because of this. There are also many moments throughout Skyward Sword when fans felt that Ghirahim was being flirtatious towards Link. This is why many ship them together even though they are enemies.
- Some fans theorize that Ghirahim was later reincarnated as Vaati in a similar manner to Demise being reincarnated as Ganondorf. If this is the case, then GhiraLink would be connected to the Vaalink ship.