add .gitignore and smartmatch