Cook gently, stirring often and breaking them down a little bit with a wooden spoon as they become tender. Continue to cook for up to 30 minutes until they have softened almost to the point of mushiness. Add the garlic when you think they are almost done. You should end up with a fragrant garlicky rough courgette puree.