[guided]Let $(e_1,\ldots,e_m)$ be the standard basis of $\mathbb{R}^m$, and let $|\cdot|$ denote the Euclidean norm on $\mathbb{R}^m$. Since $U$ is open and $a\in U$, choose $\rho>0$ such that $B(a,\rho)\subset U$. The differentiability hypothesis means that the first-order change of $f$ at $a$ is controlled by a linear map
\begin{align*}
Df_a: \mathbb{R}^m \to \mathbb{R}.
\end{align*}
More precisely, there is a remainder function $r:B(0,\rho)\to\mathbb{R}$ such that, for every $h\in B(0,\rho)$,
\begin{align*}
f(a+h)=f(a)+Df_a(h)+r(h)
\end{align*}
and
\begin{align*}
\lim_{h\to 0}\frac{r(h)}{|h|}=0.
\end{align*}
To compare this total derivative with a partial derivative, we restrict the increment $h$ to one coordinate direction. Fix $i\in\{1,\ldots,m\}$ and set $\delta_i:=\rho$. If $|t|<\delta_i$, then $t e_i\in B(0,\rho)$ and $a+t e_i\in U$, so the differentiability expansion is valid for the increment $h=t e_i$.
For $0<|t|<\delta_i$, put $h=t e_i$ in the differentiability expansion. Since $Df_a$ is linear,
\begin{align*}
Df_a(t e_i)=tDf_a(e_i).
\end{align*}
Thus
\begin{align*}
f(a+t e_i)-f(a)=tDf_a(e_i)+r(t e_i).
\end{align*}
Dividing by $t$ gives
\begin{align*}
\frac{f(a+t e_i)-f(a)}{t}=Df_a(e_i)+\frac{r(t e_i)}{t}.
\end{align*}
The second term tends to $0$. Indeed, $|t e_i|=|t|$, so
\begin{align*}
\left|\frac{r(t e_i)}{t}\right|=\frac{|r(t e_i)|}{|t e_i|},
\end{align*}
and the right-hand side tends to $0$ as $t\to 0$ by the defining remainder condition for differentiability. Hence
\begin{align*}
\lim_{t\to 0}\frac{f(a+t e_i)-f(a)}{t}=Df_a(e_i).
\end{align*}
By the definition of the $i$th partial derivative, this proves that $\partial_{x_i}f(a)$ exists and
\begin{align*}
\partial_{x_i}f(a)=Df_a(e_i).
\end{align*}[/guided]