How do I keep deer out of my vegetable garden?

Some gardeners report success using products such as the repellent sprays, either homemade or commercially formulated, and there are any number of “home remedies” to discourage deer, but the only reliable method over time is to fence them out. Ortho makes a deer repellent spray that contains Bitrex, a bittering agent.