Negar (Spanish for “to deny”) comes from the Latin negare (“to say no”), with the re added for empahsis. This then links it to English words like, negate and… renegade. Who is a renegade if not the person who fights what society is trying to impose on him? (Or her!).
We can see the n‑g root clearly in both.