A few questions need to be addressed:
Is the current law in violation of the Constitution?
Does the President or DOD have the authority to wave the requirement of “...so help me God”
If the President via signing authority or executive order, changes that part of the oath, what other parts can he change?
I think it’s very clearly unconstitutional, unless there is an argument that military service is not a public trust under Article VI, which is unlikely.