I finished step 1 in [this tutorial](https://medium.com/@ultravulturekangaroo/fullstack-tddd-mern-crud-app-part-1-af356bf0badb) on how to set up a MERN stack project.

I have a `.gitignore` with the following contents

```
/backend/node_modules
/backend/package-lock.json

```

However, when I `git push`, `node_modules` and `package-lock.json` get added to my respository as seen [here](https://github.com/develijahlee/mern-app)

How can I remove `node_modules` and `package-lock.json` from my github repository and in future commits?

[![My project setup](https://i.stack.imgur.com/jMxZW.png)](https://i.stack.imgur.com/jMxZW.png)