Information about geodesics on a triaxial ellipsoid is available at https://geographiclib.sourceforge.io/C++/doc/triaxial.html. You will be redirected there. Click on the link to go there directly.