Say we have 2 surfaces $M$ and $\hat M$ that intersect perpendicularly --> $\left<n,\hat n\right> = 0$ along the curve of the intersection intersection, where $n$ is the unit normal to $M$ and $\hat n$ is the unit normal to $\hat M$.
Assume the intersection of $M$ and $\hat M$ is the image of a unit speed curve $\gamma$ that is a geodesic in both $M$ and $\hat M$.
How can we show that $\gamma$ is a straight line?
Thanks