Only the head needs protection and that happened otherwise it would have fallen off. Holes are a myth. when a condom fails it rips down the seam and hangs in tatters and both people know it so that didn't happen.
You are safe so go back to your happy life and start eating and sleeping again because nothing dangerous happened.
How could you put your girlfriend at risk? Do you have HIV?