Geodesics in general relativity