How to remove the Intellij .idea folder from github repository

https://coderwall.com/p/qaiaog/remove-intellij-folders-from-your-github-repo

Make sure you have the ngrok file in your /usr/local/bin directory

1. echo '.idea' >> .gitignore
2. git rm -r --cached .idea
3. git add .gitignore
4. git commit -m 'untracking .idea'
5. git push origin master