Episode "Glorious Purpose" of the Loki series is set in Avengers: Endgame's 2012 incident when Loki steals the Tesseract block containing the Space Stone and disappears into an invisible portal. This act of Loki creats a new timeline and an alternate version of himself.
@ The episode is shown on Disney+ or as per the movie link near the bottom of the article.
_________