Preheat your oven to 400 degrees. Then roll out the dough into a big rectangle.
Spread a thin layer of pesto over the dough.
Cut the mozzarella into thin strips. Arrange the mozzarella along the edge of the dough and roll the dough up around the mozzarella and press to seal it. Use a knife to cut this section of dough free. Then slice it in half, tie in knots, and place on a baking sheet. Be sure to seal up the ends of the dough so that the mozzarella doesn't melt out.
Continue this process, using up all of the dough.
Melt the butter and stir in the garlic. Then brush all of the garlic knots with the garlic butter.
Place the garlic knots in the oven to bake for 12-18 minutes, until golden brown.
Warm up some marinara sauce for dipping and serve!