Using PyCharm Pro 2018.3.3 (Build #PY-183.5153.39), using git 2.7.4 from Ubuntu (under WSL with git.cmd trick).
When trying to commit, I get this error:
[Time] Commit failed with error
0 files committed, 1 file failed to commit: [commit message]
The system cannot find the file specified.
When checking .git/COMMIT_EDITMSG, it doesn't display the message of the commit that failed. This suggests to me this issue is not this but may be related? I can pull, checkout, clone fine, but can't push or commit. And from bash, git works fine, is able to commit & push. How can check which is the file specified that the system could not find? Git's core.editor is nano, for which I've also got a nano.cmd entry that works from cmd.exe, so both git & nano are commands known to Windows-side programs (i.e. not just WSL).
In a different machine, using also the git.cmd trick, the setup works fine.