You mean Natalie Portman as Jane Foster in the post-credits scene of Avengers: Endgame (not the main celebration montage).
She appears receiving Mjolnir from Thor—confirming her return as Mighty Thor for Thor: Love and Thunder (2022). Portman hadn't appeared since Thor: The Dark World (2013); this cameo set up her Phase 4 arc.
The main "portals" montage features returning heroes (no Portman). Her moment is the final post-credits beat.