The definition in my text reads,
An integer $d$ is said to be the greatest common divisor of two non-zero integers $a$ and $b$ iff,
$d|a$ and $d|b$ and if $k$ is any other common divisor of $a$ and $b$ then $k|d$
Now here's the thing, if $d|a$ and $d|b$ then surely $-d|a$ and $-d|b$ as well, also $k|-d$
What I take from this? GCD is not unique! That is if $\mathrm{gcd}(12,8)= 4$ then by the definition, $\mathrm{gcd}(12,8) = -4$ as well.
Yet I never ever seen a negative gcd. Someone please explain.
Maybe, $4>-4$, and we want the "greatest common factor" so...? But that still doesn't justify the definition.
You are right, it is all about definitions. With the definition you gave the gcd is really not unique and it might be negative as well. But because most of the time we are using only the positive gcd then some simply prefer to add the words "$d$ is positive" to your definition or just give other definitions. For example a very common definition of gcd in number theory is "$d|a$ and $d|b$ and if $k$ is any other common divisor of $a$ and $b$ then $k\leq d$". So that definition already requires the gcd to be positive.