But how could it have entered Old Provençal without it being Frankish in origin? Old French is kind of... in the way between them. Of course it's possible that the word came from Alemannic instead. But is it not possible for the g- to have survived? After all if garir has g-, why can't this word?
Ok, I see. But still... if w > g survived, then g itself could have survived too. Are there any examples Germanic words with g being borrowed into French with j?
I'm guessing this is related to the oddities in the second paragraph of gain#Etymology 3? If French gagner > older gaaignier > Gothic gaaiginōn (gaaiginōn), then any /w/ > /g/ mutation seems irrelevant. And what of Spanish ganar?