The only free and comprehensive online etymological dictionary of the Spanish language
ganar (Verb) "to win," "to gain"

10th cent. According to RAE and Corominas (1983) putatively from an unattested Gothic word *ganan "to covet;" or according to Roberts (2014), from Gothic *ganô "eagerness." I am yet to find supporters among Germanicists for these theories.