How to ignore node_modules in Git?

Article: https://timmousk.com/blog/git-ignore-node-modules/