Season the minced meat with salt and pepper. Heat a little oil in a frying pan until it is almost smoking and cook the meat in small batches for a few minutes, turning with a wooden spoon, until well coloured, then drain in a colander to remove the fat.
Heat a little more oil in a heavy-based pan and gently fry the onions with the garlic and thyme until very so