Note that gcds are preserved under scaling by units (invertibles) because this holds true for divisibility, i.e. if $\,u\,$ is a unit then $\,ua\mid b\iff a\mid b\iff a\mid ub.\,$ Thus scaling a gcd by a unit does not alter its multiples nor its divisors, so it remains a gcd (i.e. a common divisor that is greatest divisibility-wise, i.e. divisible by every common divisor; said equivalently $\, c\mid a,b \!\iff\! c\mid \gcd(a,b),\, $ the universal definition of a gcd).
Often it is convenient to scale gcds by a unit to a normal form, e.g. in $\,\Bbb Z\,$ we normalize gcds $\ge 0,\,$ by scaling by the unit $-1$ if need be, and in a polynomial ring $\,K[x]\,$ over a field, we normalize them to be monic (lead coeff $\,c_n = 1),\,$ by scaling the polynomial by $\,c_n^{-1}\,$ if need be (thus a constant gcd $\,c_0\neq 0$ normalizes to $1).\,$
However, a nice unit normalization algorithm need not exist in all domains, so generally gcds are only determined up to unit multiples, i.e. up to associate-ness, so e.g. $\,\gcd(a,b)\approx 1$ means that the gcd is associate to $1$, i.e. is a unit, i.e $\,c\mid a,b\iff c\mid 1.\,$ Beware that a common abuse of language is to write $\gcd(a,b) = c\,$ to denote $\,\gcd(a,b)\approx c,\,$ esp. in contexts when there is no natural choice for unit normalization.
See here for further discussion.