[git] IDEA-105421 Revert 59bbb58: void return types are not allowed

This reverts commit 59bbb58b67ec88696339e3c51cb6bee0514813b7.
+ add a comment about this problem.