I forgot what connection I made, but when I click on "navigate on Garmin" in Komoot
It show up in Garmin Connect under Training And Planning - Courses and I synchronize with my device from there.

Since I've got similar connections set up with other apps like RWGPS, I'm using Garmin Connect rather than directly loading gpx files.