Open .gitignore and update it as follows. We do not want the dist folder to be checked into the git repository.
.gitignore
node_modulesdist