Peel garlic cloves. Chop finely in a food processor. You should have about 1/2 cup of chopped garlic.
In a small pot, add 1/2 cup vegetable oil and chopped garlic. I prefer to use a stainless steel pot to make it easier to see the garlic oil color change. You will need to adjust the amount of oil you add depending on how much chopped garlic you use. If you end up with more or less than 1/2 cup of chopped garlic, use equal parts of chopped garlic to oil.
Use low heat to fry garlic. Stir constantly to make sure everything is frying evenly. Chopped garlic will begin to change color. In about 15-20 minutes, garlic will begin to turn darker yellow. Turn off the heat. Add a sprinkle of salt and mix. Garlic will continue to cook in hot oil and end up a golden yellow color without getting over fried.
Store in an airtight glass container in room temperature for up to 2 weeks or in the fridge for up to a month.