The National Guard's roots go back to state militias. As such NG units belong to the state and that state's Governor controls their activities. When NG units are federalized, then the President, as Commander in Chief, exerts command and control over them.