The American Army swears an oath to serve our country as well, and the current commander-in-chief is Barack Obama.
The American armed forces swear an oath to defend the Constitution against all enemies foreign and domestic.
That is senior to swearing to follow orders and the UCMJ.
The Germans swore an oath of personal loyalty to Adolph Hitler.
NO American serviceman has ever sworn to follow any leader unconditionally.
Yet.