applying .gitignore to previously tracked files