When last we left Carol Danvers, it was 1982, and she had just gained the power of a "white hole" (a theoretical astronomical phenomenon that must be the opposite of a "black hole") and became the superhero "Binary" while in outer space with the X-Men.
She returned to Earth where, with the help of Professor Xavier, she regained most of her memories, and started to regain her Ms. Marvel powers.
In 1998, she rejoined the Avengers, went back to her second costume (the black leotard with the lightning bolt), and started to lose her Binary powers. She changed her superhero name to "Warbird," became an alcoholic, and was court-martialed out of the Avengers.
Some of the titles in which these stories can be found are taken from a very thorough list about