Begin by crushing the garlic cloves in a mortar and pestle. Adding a pinch of salt will help with the sliding. You can also mince the garlic or use a garlic crusher.
Cut and pit the avocados, then add to the crushed garlic and mash until mostly smooth.