Peel and squeeze the garlic and heat it with the olive oil. Add the cleaned, washed and cut zucchini and the plucked basil leaves. Salt and let simmer for about 20 minutes. Set the zucchini aside and let cool. Mix the ricotta (it will be creamier) and mix with the parmesan and nutmeg. Mash the zucchini a little and add, mix everything and add salt if necessary.
Cook the pasta until al dente and fold in the zucchini and ricotta cream.