How does one properly changes one’s undershirt when getting dressed in the morning.
The ideal is to change undershirt in a bathroom, where there is no problem of revealing one’s body. Alternatively, one can change undershirt under the covers.
If this is not convenient, one should at least ensure that the body is uncovered for the minimum time possible.
Sources: Mishnah Berurah 2:1.