Also: you say your GF and her friend were having sex together when you were not present? Did you talk with your GF about your joint boundaries with respect to this other girl? Did you have clear, open and honest conversations about what you're both comfortable with? Were you OK with the result of those discussions?
Answering those questions might not help solve the current issue you're dealing with, but it might help avoid the problem in the future
