syntax: glob .git *.obj *.pdb *.user *.aps *.pch *.vspscc [Db]ebug*/ obj/ [Rr]elease*/ _BuildOutput/* .vs/ .vscode/ _ReSharper*/ *.ncrunchsolution *.ncrunchsolution.user *.ncrunchproject *.crunchsolution.cache [Tt]est[Rr]esult* [Bb]uild[Ll]og.* *.[Pp]ublish.xml *.suo [sS]ource [sS]andbox *.vs10x *.orig *.[Dd]ot[Ss]ettings *.js.map deploy.cmd bin/NativeBinaries/* packages/* !packages/repositories.config App_Data/* !App_Data/packages log.txt data/deploy* App_Plugins/UmbracoForms/[Ii]nstalled #/media/* - i have remove this line so it adds the media to git /data/Revision/documents/* /data/Revision/media/* /data/Revision/mediaproperties/* /data/Revision/properties/* node_modules/ bower_components/ #this will exclude the connection string. The web.config will still be included /ConnectionStrings.config