A phrase used in surprise or extreme shock. Perhaps you have been scared or you are shocked by the stupidity of your classmates. The coining of this term originated in Ramsgate, due to the large factor that many families from abroad sent their children to school. The students from Africa in particular spread this phrase around like wildfire and before you knew it, everyone was HOLY GHOSTing, after its rise to fame it has since died out.
Friend: "BOO!"
You: "HOLY GHOST!"
or
An idiot: "Isn't the capital of France Spain?"
You: "HOLY GHOST"