Moebius, Part 2

Plot
The scientists working on the recovered Alternate-Puddle Jumper cannot make it work because they don't have the ATA gene. Alternate-O'Neill is called in to operate the Jumper and lead the team through the Stargate to find Alternate-Teal'c, and agrees that Alternate-Daniel and Alternate-Carter are to join the team through the Stargate.

On Chulak, SG-1 are caught by Jaffa loyal to Apophis and imprisoned. Alternate-Teal'c defects to their cause and helps them escape but Alternate-Daniel is infected by a Goa'uld and killed by Teal'c. They escape in the Puddle Jumper, but are chased and damaged by Death Gliders. Unaware of the jumper's cloaking capacity, they believe that only way they can survive is to time-travel. They travel back to 3000 B.C. and use the Stargate to pass from Chulak to Ancient Egypt where the original versions of SG-1 were stranded and where Ra is still alive and ruling.

The original SG-1 attempted the rebellion because O'Neill and Teal'c didn't want to stay and O'Neill, Carter and Teal'c were killed when it failed. Daniel, the only survivor, meets with Alternate-Carter, Alternate-O'Neill and Alternate-Teal'c. He has not yet made the tablet detailing the second successful rebellion attempt because it hasn't happened yet. This means that his current plans with the underground of the local populace are destined to succeed, however they lead to the Stargate being removed from Earth by Ra. The plan is to instigate the rebellion, thus diverting Ra's attention, and secure the Stargate to where it was original buried, allowing the original timeline to evolve as it did.

The rebellion ultimately succeeds, but not before Alternate-Carter and Alternate-O'Neill consummate their feelings for each other while under fire, uncertain if they will survive. Ra's Jaffa surrender, outnumbered by the staff- and zat-armed Egyptians. When Jack and Sam are told to come out by Daniel, Jack says "In a minute." and they kiss and fall out of frame. The alternate SG-1 bury the videotape, along with the ZPM, for the SG-1 of the future to find. The Alternate-SG-1 and Daniel from the original SG-1 (of 3000 BC) live out the rest of their lives in Ancient Egypt.

The original SG-1 of the present day receive the videotape and the ZPM left for them a few weeks before they were to go back in time. As the timeline has been restored, they have no reason to go back in time, and they've gained a ZPM free of charge. The episode ends with SG-1 at O'Neill's cabin, fishing, in a scene identical to the end of "Threads", except there are now fish in Jack's pond.

Jack O'Neill's response to this?: "Close enough".

References to other media

 * According to the DVD commentary, O'Neill's "close enough" line at the end of the episode is a reference to "Treehouse of Horror V", an episode of The Simpsons where Homer time travels and unintentionally makes numerous changes to history; upon returning to a timeline where his family have snake tongues but everything else is otherwise normal, he says "eh, close enough". This is one of several references to The Simpsons on Stargate SG-1, all centered around O'Neill. Another example from this episode is the name of Jack's boat, "Homer". Incidentally, in the brief shot of Jack's boat showing the name, the font used is the same font used extensively in The Simpsons.
 * The alternate-timeline Apophis has a goatee, a reference to the Star Trek "Mirror Universe".

Guest stars

 * Since "Moebius" was supposed to be the Stargate SG-1 series finale, many actors reprised their roles from past episodes: Don S. Davis as George Hammond, Peter Williams as Apophis, Colin Cunningham as Major Davis, and Jay Acovone as Charles Kawalsky.
 * Alessandro Juliani (Katep) previously played Eliam in the Season 4 episode "Scorched Earth". He is also known for his role as Lt. Felix Gaeta on Battlestar Galactica.

Alternate Timeline notes
Within the alternate timeline featured within the episode there are numerous differences from the original Stargate timeline, the roots traced to Ra taking the Giza Stargate with him when he fled the Earth. Differences from the original timeline include:
 * Jack is a charter boat captain, never rejoining the Air Force after his original resignation.
 * Daniel makes a living teaching English as a second language, having lost all standing within the archaeological community.
 * Carter never joined the Air Force and works as a civilian aerospace engineer.
 * Carter is seen practicing the "reproductive organs" speech (first heard in "Children of the Gods") in front of a mirror, but does not have the nerve to actually say it to anyone.
 * Carter is wearing glasses.
 * Robert Kinsey is President of the United States, while Henry Hayes is Secretary of the Interior.
 * General Hammond is only a Brigadier ("1 star") General, not a Lieutenant ("3 star") General.
 * Cheyenne Mountain does not house Stargate Command. Rather, the USAF Advanced Research Institute, which can be briefly seen on the shoulder patch of one of the guards, is in charge of the program.
 * McKay does not have a citrus allergy, saying lemon chicken is his favorite food.
 * Major Davis has a moustache.
 * Major Kawalsky is in the US Marines and not the Air Force