Troubleshooting cygwin git and IntelliJ IDEA

Troubleshooting cygwin git and IntelliJ IDEA

If you set up a cygwin with git and IntelliJ and ran into this error only inside IntelliJ:

cygwin git error while loading shared libraries: ?: 
cannot open shared object file: No such file or directory

then add the /cygwin/bin or /cygwin64/bin Folder to the Windows PATH Variable.