With this code
\begin{tabular}{cc}
\begin{tikzcd}
& B \arrow{dr}{g} \\
A \arrow{ur}{f} \arrow{rr}{h} && C
\end{tikzcd} &
\begin{tikzcd}
& \text{Hom}(B,G) \arrow{dl}{\widetilde f}\\
\text{Hom}(A,G) && \text{Hom}(C,G) \arrow{ll}{\widetilde h} \arrow{ul}{\widetilde g}
\end{tikzcd}
\end{tabular}
I obtain the following diagrams
As you can find, the labels of the second diagram have been "reflected" with respect to the given arrows. I would like to remedy this, however, I don't know how to do so.
Thanks in advance for your help.
PS: I would like to give a working sample of code, but I don't know which packages are required for this to compile.