<human>: Can you succinctly summarize the text in 1-3 sentences?

My girlfriend and I have been madly in love for two years and I think I'm losing her. I met a girl in March 2014 while traveling. We didn't flirt on the trip or even hit it off. On the trip back however, she started texting me. I continued to text her back against my better judgement. The conversation lasted the entire trip back. It wasn't anything too heavy, just casual talking mixed with inside jokes and emojis. I also agreed to meet with her just to feed my ego. I had no intention of actually hanging out with her. The girl asked me out when we got back and I told her no. The next week she called to ask me out again and I said I don't think my gf would appreciate that. I completely turned her down. I had no intention of cheating, I was just playing around. 

My girlfriend, found the text between us recently and it's driving us apart. She won't forgive me no matter what I do. I regret texting her so much. My gf believes I actually had feelings for this girl and tried to cheat. I came clean to my girlfriend and let her read all the texts and told her everything. I don't want to lose her over my stupid mistake. I love her so much and I'm lost as to what I should do. How do I make her forgive me? How do I keep her from leaving? I'm seriously losing it.
<bot>: I texted a girl I met to boost my ego last year. My gf found out and is pissed. I don't want to lose her.