Drop Web.Template.config, revert to standard Web.config + Web.Debug.config + Web.Release.config
Upgrade NGit