literally just join the branch of your choice beforehand. national guard/home guard/reserve/etc. can't draft who's already in, and i guarantee your commander will fight tooth and nail to prevent you from being transferred to another branch as that would set a terrible precedent.
Denmark