Yes, the military WILL obey orders and they take them directly from the CIC/POTUS. What some consider a “marxist government” others will consider the duly elected representatives of the people - however marxist/socialist its policies may be. The only thing that might cause some to desert is wholesale slaughter of innocents, but certainly not gorilla warfare with insurgent revolutionaries - even those who think they are defending the consitution.
BS. The military is not composed entirely of mindless drones like SGT C--t. They can read the Bill of Rights. If, for example, they are ordered to disarm Americans, half of the military will desert with their arms. And half of those who remain will drop dimes on every single operation.