Don't worry, that is the same story! The Gibbs free energy is a thermodynamic potential which is a function of $T,p,N_{1},...,N_{k}$, where $T$ is the temperature of the system, $p$ is its pressure and $N_{1},...,N_{k}$ are the number of particles of each constituent of the system. For simplicity, let us consider $k=1$ and $N_{1} \equiv N$. Then $G = G(T,p,N)$. Now, by your definition of a differential, we have:
$$ dG = \bigg{(}\frac{\partial G}{\partial T}\bigg{)}dT + \bigg{(}\frac{\partial G}{\partial p}\bigg{)}dp + \bigg{(}\frac{\partial G}{\partial N}\bigg{)}dN $$