'How to push ASP.NET MVC to GitHub without connection string

I have an application ASP.NET MVC 5 (.NET 4.6.2) developed using Visual Studio and I'm using Webhook from Github to deploy my aplication on Azure. I've already create the connection string on Azure so I need to push the App on GitHub without connection string (and of course not to publish my password). There are somehow to remove the connection string automatically when I push the App on GitHub?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source