[step:Verify that $u_\#$ is well defined on path homotopy classes]
Suppose $[\gamma] = [\gamma']$ in $\pi_1(X, x_0)$, witnessed by a path homotopy $H: I \times I \to X$ with $H(s, 0) = \gamma(s)$, $H(s, 1) = \gamma'(s)$, and $H(0, t) = H(1, t) = x_0$ for all $t \in I$. The path $u^{-1}$ is a path from $x_1$ to $x_0$, and $u$ a path from $x_0$ to $x_1$. Consider the constant homotopies $U^-: I \times I \to X$, $(s, t) \mapsto u^{-1}(s)$ and $U: I \times I \to X$, $(s, t) \mapsto u(s)$. These are path homotopies rel $\{0, 1\}$ from $u^{-1}$ to $u^{-1}$ and from $u$ to $u$ respectively. Horizontally concatenating $U^-$, $H$, $U$ (possible because the endpoint matchings $u^{-1}(1) = x_0 = \gamma(0)$ and $\gamma(1) = x_0 = u(0)$ hold uniformly in $t$ thanks to the rel-endpoints condition on $H$) yields a path homotopy
\begin{align*}
u^{-1} \cdot \gamma \cdot u \simeq u^{-1} \cdot \gamma' \cdot u \quad \text{rel } \{0, 1\}.
\end{align*}
Explicitly, let $K: I \times I \to X$ be defined by
\begin{align*}
K(s, t) = \begin{cases} u^{-1}(4s) & 0 \le s \le 1/4, \\ H(4s - 1, t) & 1/4 \le s \le 1/2, \\ u(2s - 1) & 1/2 \le s \le 1. \end{cases}
\end{align*}
The three closed pieces cover $I \times I$ and agree at their overlaps: at $s = 1/4$, the first gives $u^{-1}(1) = x_0$ and the second gives $H(0, t) = x_0$; at $s = 1/2$, the second gives $H(1, t) = x_0$ and the third gives $u(0) = x_0$. Each piece is continuous; the pasting lemma gives continuity of $K$. At $t = 0$, $K(\cdot, 0) = u^{-1} \cdot \gamma \cdot u$; at $t = 1$, $K(\cdot, 1) = u^{-1} \cdot \gamma' \cdot u$. At the $s$-endpoints, $K(0, t) = u^{-1}(0) = x_1$ and $K(1, t) = u(1) = x_1$, so $K$ is rel $\{0, 1\}$.
Hence $[u^{-1} \cdot \gamma \cdot u] = [u^{-1} \cdot \gamma' \cdot u]$ in $\pi_1(X, x_1)$. The function
\begin{align*}
u_\#: \pi_1(X, x_0) \to \pi_1(X, x_1), \qquad [\gamma] \mapsto [u^{-1} \cdot \gamma \cdot u]
\end{align*}
is therefore well defined.
[/step]