All branches of the military are under orders to open up units currently restricted to men, by the end of this year.