Proof (first order expansion)
Let $\epsilon(h) = f(x_0+h) - f(x_0) - hf'(x_0)$. Then $$\begin{align*} \lim_{h\to 0}\frac{\epsilon(h)}{h} &= \lim_{h\to 0}\frac{f(x_0+h) - f(x_0)}{h} - f'(x_0) \\ &= 0 \end{align*}$$ so by this, $\epsilon(h) = o(h)$.
Let $\epsilon(h) = f(x_0+h) - f(x_0) - hf'(x_0)$. Then $$\begin{align*} \lim_{h\to 0}\frac{\epsilon(h)}{h} &= \lim_{h\to 0}\frac{f(x_0+h) - f(x_0)}{h} - f'(x_0) \\ &= 0 \end{align*}$$ so by this, $\epsilon(h) = o(h)$.