Heat the olive oil in a medium Dutch oven over medium heat until shimmering. Add onion and a pinch of salt. Cook, stirring occasionally, for ten minutes, then add the minced garlic. Cook for another 2 to 4 minutes, until the onions are well browned.
Make sure your oven rack is in the middle position. Preheat oven to 375 degrees.