Cygwin's forking issue is detailed here
To summarize the fix, try executing the following after closing Intellij AND after making sure that there are no other cygwin processes running:
$CYGWIN_HOME\bin\dash.exe -c '/usr/bin/rebaseall -v'
Also, you might need to install the rebase package by executing Cygwin's setup.exe if you haven't already got it. In this case, the steps are:
a. Install the Cygwin rebase package (if necessary)
b. shutdown all Cygwin processes
c. execute the command listed above
This problem has been reported before on the Cygwin mailing list: http://cygwin.com/ml/cygwin/2015-10/msg00269.html, however read through the linked discussion only if the summarized instructions do not fix your problem
How to make sure that there are no Cygwin processes running?
Use Sysinternal's Process explorer as follows:
Microsoft/SysInternals Process Explorer - Go to Find > Find
Handle or DLL. In the "Handle or DLL substring:" text box, type the
path to the file (e.g. "C:\path\to\file.txt") and click "Search".