generate .gitignore with an echo stdout redirection

I don't like this solution very much, I would prefer to separate data
from logic. Maybe I should include a .gitignore file in a data directory
in the dotfiles directory?