Rotation in bones causes rotation in mesh

I was moving bones and when i moved the head, it moved the whole mesh and i can’t find really anything online similar to my situation (at least i think so)

Blend file:https://drive.google.com/open?id=1MeeoVhuUboueP6ioIRXm4CJraouyyynG

Go into edit mode and switch the direction of your head.