Restore the main .gitignore

Related to #337