test .gitignore on ~ file