How do you go about database connection string handling in version control? As I understand, connection strings are usually held in appsettings.json, does that mean the best practice would be to add appsettings.json to .gitignore? I also have API keys, so would it be sensible to create a .env and add connection strings and API keys there?
