Let $C$ a (perhaps well-pointed?) category with terminal object $\mathbf{1}$, so for objects $A,B$ we have the sets of global elements $G_A, G_B$ (i.e. hom-sets off $\mathbf{1}$) of $$ g_A \colon \mathbf{1} \to A, \qquad g_B \colon \mathbf{1} \to B. $$
Is the set of functions $G_A \to G_B$ isomorphic to the hom-set $\mathrm{Hom}(A,B)$?
In other words, is the function $f \colon \mathrm{Hom}(A,B) \times G_A \to G_B,$ $$ f(m, g_A) = m \circ g_A $$ bijective if considered curried, i.e. $\mathrm{Hom}(A,B) \to (G_A \to G_B)$?
I came up with this while reasoning about Are Monoids a category inside a category, wondering whether the endomorphism monoid is the same as the endofunction monoid on global elements.