[git] Applying .gitignore to committed files