Government, gangs, military etc. Those all are words from normal time.
Just be sure that you think in new terms, when SHTF all these words from normal times have different meanings. Military can easy turn to very well equipment terrorizing little groups with warlord leaders, gangs can turn to city leaders and small governments, or government can turn to fascist tyrannic junta.
I saw all these things happened in very short period from the moment when SHTF.
Where it is gonna be better depends also from the level of SHTF, I would always prefer being at rural place.
Forget about “government trying to restore order” thoughts and similar, every government is there first because itself.