The Romance languages borrowed many words from Germanic.
Word-initial [w] from Germanic became [ɡw] in most Romance languages. For example, *werra became 'guerra' in Italian.
Spanish and Portuguese then reduced [ɡw] to [ɡ] before [i] and [e], French everywhere.
More examples: