Should we add .htaccess file in .gitignore, how we manage this file?
Whether you add .htaccess
to .gitignore
depends on whether you want the .htaccess
file tracked in your Git repository or not. You have to decide this for yourself, noone can tell you this really.