Preheat oven to 350 degrees F.
Spread the pesto on to 1 side of the sliced bread and spread the garlic cloves onto the other side. Place the halves together to close. Place in oven for 15 minutes.
Slice and serve.