The main ingredient in proving this is the observation that the coordinate-change maps must be linear on infinitesimals, so the infinitesimal neighborhood of a point is a vector space in a canonical way, which is isomorphic to the tangent space at that point.