So, the Orange Turd plans on suspending the US Constitution and using the so-called national emergency to go for the full power grab. I certainly hope the US military upholds the pledge to protect the US Constitution.
The US president is the commander in chief and the US military is subservient to US president, never mind how many of them come from the MAGA cult bubble themselves. The military is a poor safeguard for democracy.
The oath to protect the US Constitution from foreign and domestic enemies takes priority. You are correct in one regard, it will depend on the military leadership and soldiers.
We'll see. The military is under pretty clear orders to defend the constitution from threats both foreign and domestic. Trump ia domestic threat and a fascist, and fascists flip the truth upside down, so he'll accuse immigrants of being a domestic threat as a way of trying to convince the military to violate their oath. He'll certainly replace legitimate generals with spineless lackey loyalists, but the oath isn't to obey generals, it's to protect the constitution, and it goes from top to bottom.
This will be a trickier test of the military's quality than WW2.