If the pork has any skin attached, remove and set aside. If the pork has a large fat cap, remove and dice into small pieces. Cut the rest of the meat into 2-inch chunks.
Add the pork and any removed skin or fat chunks into a non-reactive, oven safe dish. Add the whole garlic cloves, shallots, thyme, and bay leaves. Add salt and pepper to taste, erring on the side of slightly less salt as the amount can be adjusted later. Cover tightly with cling film and refrigerate overnight to marinate.
The next day, preheat the oven to 300°F. Remove the marinated pork from the fridge and uncover. Meanwhile, melt the rendered pork or duck fat in a small saucepan over low heat. Pour over the marinated pork and cover the dish tightly with aluminum foil. Place in the oven to slow cook for 3–4 hours or until the pork is fall-apart tender.
Allow the pork to cool slightly before separating the components: fish out any tender pork chunks, and soft aromatics and reserve, such as garlic and shallot. Fish out and discard the bay leaves, thyme sprigs, and any pork skin. Carefully strain and reserve any fat in the pan.
Add the tender pork to a stand mixer and mix to shred finely. Slowly stream up to 1 cup of the reserved cooking fat until the mixture becomes creamy and spreadable. Taste and season as needed with salt and pepper.
Divide the rillettes between 8 clean 4 oz jars, pressing the mixture down to avoid any air pockets. Top the jars with a layer of the rendered cooking fat around ¼ inch thick. This will keep the rillettes fresh for up to a month in the fridge. Serve at room temperature with sliced baguette, cornichons, and whole grain mustard.
