Let $M$ be a $2$-dimensional compact oriented surface in $\mathbb R^3$ with boundary $\partial M$. For any $p\in M \setminus \partial M$ tangent vectors are defined as speed vectors of smooth curves $\Gamma \colon (-1,1) \to M$, $\Gamma(0) = p$ at point $t=0$, i.e. vectors $\dot \Gamma(0)$. They form the linear space $T_p M$ called the tangent space to $M$ at $p$.
Suppose now that $p \in \partial M$. Then if we use the same definition for tangent vectors (i.e. speed vectors at zero of smooth curves $\Gamma \colon (-1,1) \to M$, $\Gamma(0) = p$) we will obtain only vectors, that are tangent to $\partial M$ at point $p$. My question is how to modify the definition of tangent vectors at boundary points to obtain the tangent vectors to $M$ at $p \in \partial M$? Is it possible to define these tangent vectors as speed vectors of curves $\Gamma \colon (-1,1) \to \mathbb R^3$, $\Gamma(-1,0] \subset M$ or $\Gamma[0,1) \subset M$, $\Gamma(0) = p$ at $0$, i.e. vectors $\dot \Gamma(0)$?