I just would like to add one more thing. If you do tell her, and she stays with you, she's going to want you to end the friendship with the friend. So you will need to decide if you want to keep the gf, or the friendship if you tell. If you think this might get back to her than you should tell her.