Happy you liked it, and it's a good point you have.
One of the issues I've experienced, even with private dev repos, is, that when new developers are onboarded, they often provide e.g. their own ConnectionString in the appsettings.Development.json, and they commit it to repo.
Then, when everyone else pulls, they'll get their connectionstring, and everyone has to update the value manually anyway.
This happens quite often if you have some developers using SQL Server in Docker, and some that has the SQL server installed locally.