In one story, Carol travels back in time (in a time-traveling plane, because she cannot time travel on her own), meets her, and joins the Banshee Squadron– an all-female fighting unit in World War II.
For those unfamiliar with the Captain Marvel character, Helen Cobb is a famous pilot that inspired Carol Danvers to pursue her career in the Air Force and holds the highest-record for flight, which she wishes to break.