Etymology
Today it means: A very stupid person. Full definition →
From shit + wit; perhaps alluding to nitwit.
Etymology from Wiktionary, CC BY-SA 4.0.