Riemannian Metric and Lie-Bracket Interpretation of the Euler Equation on Geodesics