use robust .gitignore

Based on GitHub recommendations