Suppose that $G$ is a group of matrices that is a submanifold of $M_n(\mathbb{R}) \cong \mathbb{R}^{n^2}$, with group law the usual multiplication of matrices. Let $X$ and $Y$ be two left invariant vector fields. Show that $$ [X, Y ]_{I_n} = X_{I_n}Y_{I_n} − Y_{I_n}X_{I_n}$$ where, on the right hand side of the equation, the product is just the usual multiplication of matrices.
I know that the tangent space at $I_n$ can be identified with the left invariant vector fields. But without any description of $G$ how does one show this above identity? I know $[X,Y]_{I_n}(f)=X_{I_n}Yf-Y_{I_n}Xf$ where $f$ is a smooth real valued function on $G$, but I don't see any way to connect the two above facts. How does one prove this? Thank you.