The Coast Guard is no longer a branch of the U.S. military. My nephew wanted to enlist last year and that’s what he was told. He enlisted in the Navy instead.
I believe the CG is still a branch of the military, but just not under DOD anymore.