Gilder also had seven rebounds in his return to Texas A&M. He transferred last summer after the Aggies fired Billy Kennedy and hired Buzz Williams from Virginia Tech. Gilder sat out last season following the discovery of a blood clot in his arm.
Wendell Mitchell led Texas A&M (2-1) with 14 points.
Gonzaga missed 12 of its first 15 shots over the first eight minutes. But it eventually found its form in its first visit to College Station.
The Bulldogs scored 20 straight points from about 11 minutes remaining in the first half until a little more than two minutes before halftime -- a welcome break for Texas A&M after it was run up and down its court.
Gonzaga shot 49 percent (31 of 63) from the floor, compared to 30 percent (17 of 56) for A&M. The Bulldogs also outrebounded the Aggies 46-29.
Gonzaga: The Bulldogs, who adjusted to their unfamiliar setting quite quickly, are off to another good start this season. The Aggies led early on, but were unable to keep up with coach Mark Few's team.
Texas A&M: Williams has some work to do in his new job with the Aggies.
Gonzaga hosts Texas-Arlington on Tuesday.
Texas A&M hosts Troy on Wednesday.
More AP college basketball: https://apnews.com/Collegebasketball and https://twitter.com/AP-Top25
Alcorn St. downs NAIA-Rust 108-62 behind Howard's 19 PTs
Maurice Howard led six players in double figures with 19 points and Alcorn State needed the second half to pull away from NAIA-member Rust for a 108-62 win on Monday night.
No. 2 Kansas' defense on rise as Milwaukee awaits
Worries are only natural for any college basketball team attempting to navigate a long schedule. For players, though, identifying the most pressing concerns can be essential.
Duquesne blasts Columbia for eighth straight win
Tavian Dunn-Martin scored 25 points and Duquesne extended its season-opening win streak to eight games, romping past Columbia 90-54 on Monday night.