remove .idea from git

C++
for reference : https://www.david-merrick.com/2017/08/04/how-to-remove-the-idea-folder-from-git/
Source

Also in C++: