Jennie Hodgers, masquerading as Cashier, marched thousands of miles during the war. She was at the Siege of Vicksburg and the surrender of Mobile. Her regiment took part in more than 40 skirmishes and battles.
"Albert Cashier seems to have been in [the war] from the beginning to the end," Davis says. "She stuck it out."
... After her secret was discovered, Hodgers told different stories to
different people about why she had chosen to live as a man. She
reportedly told one newspaper that lots of people had enlisted under
fake names, and she did, too. "The country needed men, and I wanted
excitement," she said. -
NPR story here.