What do I do about this situation?

I went to visit a female friend of mine.
She’s a friend of my girlfriend too. But one thing is that, my girlfriend doesn’t want me around her friend because she said she never introduced me to her and i went ahead to befriend here.
There’s always argument whenever we are talking about the girl.
Since she’s my friend and I actually have no bad intentions and also do not love her, i visited her because it’s really been a while we met and i wanted to pay a visit at her hostel. We snapped pictures and had normal friendship fun. The other side is I didn’t tell my girlfriend i will be visiting the girl because you know what will happen :( …she won’t be happy and eventually think i like her that’s why I’m visiting. But I don’t. So we snapped pictures and now I don’t know what to do because eventually if my friend posts the pics, its going to be a disaster for me. I really need help please.

What do I do about this situation?
Post Opinion