https://www.kernel.org/pub/software/scm/git/docs/gitignore.html

> An optional prefix "!" which negates the pattern; any matching file excluded by a previous pattern will become included again.