The green snot thing is a bit of a myth.
A couple of my kids always have snotty noses - due to asthma, hay fever and sinus infections. (I usually do too, but I'm grown up enough to use tissues properly).
Sometimes the snot is green, especially if it is a sinus infection. They are not contagious at all, it is just a sign of infection.