God is beyond sex and gender.
He is "He" because according to the Law, men inherit. However, by grace, women remain women and become coinheritors alongside men in full equality. That is because of Genesis 1 and because of the Gospel of Christ as proclaimed in the New Testament.