Can you Feed Garlic to your Dog?

One site says that garlic is poisonous. Another says to add it to your dog's food for its benefits. Which one is right?