Provide a comprehensive guide on the installation and maintenance of electric fences, including safety precautions and best practices to ensure optimal performance.