Etymology
Today it means: A very unpleasant location. Full definition →
From shit + pit.
Etymology from Wiktionary, CC BY-SA 4.0.