Then when he says, "He, therefore, who giveth to you the Spirit and worketh miracles among you; doth he do it by the works of the law or by the hearing of the faith?" he proves his proposition by appealing to his own experience. For they might say that although it is true that we received the Holy Spirit by the hearing of faith, nevertheless it was because of the devotion he had to the Law that we received the faith he preached. Hence he says: But even considering the matter not from your side but from what I have done in giving you through my ministration the Holy Spirit Who "worketh miracles... among you," do I do this "by the works of the law or by the hearing of the faith?" In truth, not by the works of the Law but by faith.
But can anyone give the Holy Spirit? For Augustine in On The Trinity (Bk. XV) says that no mere man can give the Holy Spirit, for the apostles did not give the Holy Spirit but imposed hands on men, who then received the Holy Spirit. What then does the Apostle mean when he speaks of himself as "giving to you the Holy Spirit?" I answer that in the giving of the Holy Spirit three things conspire in a certain order, namely, the indwelling Holy Spirit, the gift of grace and charity along with the other habits, and the sacrament of the New Law by whose administering He is given. Hence He can be given by someone in three ways.
For He can be given by someone as having authority with respect to all three, namely, in respect to the Holy Spirit's indwelling, in respect to the gift, and in respect to the sacrament. And in this way the Holy Spirit is given by the Father and Son alone, inasmuch as they have the authority not of dominion but of origin, because He proceeds from both.
But as to the grace or gift and as to the sacraments, the Holy Spirit even gives Himself in the sense that the giving implies the causality of the Holy Spirit with respect to His gifts, because, as the Apostle says in 1 Corinthians (12:11): "He divides to everyone according as He wills." But as far as the author of the giving is concerned, it is not appropriate to say that the Holy Spirit gives Himself.
But concerning the sacrament which is given by the ministry of the Church's ministers, it can be said that holy men by administering the sacraments give the Holy Spirit. And this is the way the Apostle had in mind—the way mentioned in a Gloss. Nevertheless, this is not the usual way of putting it, and it ought not be exaggerated.
Again, a Gloss says that the performing of miracles is attributed to faith, which, because it believes in things that are above nature, operates above nature. Hence because the apostles preached the faith which contained things above reason, they should have adduced in support of their credibility some testimony that they had been sent by God—a fact which surpasses reason. Hence Christ gave them His own sign to prove this.
Now there is a twofold sign of Christ. One is that He is the Lord of all; hence it is said: "Thy kingdom is a kingdom of all ages: and thy dominion endureth throughout all generations" (Ps 144:13). The other is that He is Sanctifier and Savior, according to Acts (4:12): "There is no other name under heaven given to men, whereby we must be saved." Accordingly, He gave them two signs: one was the power to perform miracles, so that they could show they were sent by God, the Lord of all creatures: "He gave them power and authority over all devils and to cure diseases" (Lk 9:1). The other was that by their ministry they might give the Holy Spirit, in order to show that they had been sent by the Savior of all: "They laid their hands upon them, and they received the Holy Spirit" (Acts 8:17). Of these two ways it is said in Hebrews (2:4): "God also bearing them witness by signs and wonders and divers miracles and distributions of the Holy Spirit, according to his own will."
Source: Commentary on Galatians