
Skynet was forced to send a Terminator back in time to prevent John Connor's birth because the Resistance won the Future War and destroyed Skynet. We see the mission that resulted in Skynet's defeat in Terminator: Genisys.
But how did the Resistance manage to defeat Skynet in the future? Skynet ...