if i work in Windows 10 with PhpStorm 2018.1 EAP, then i using this script for AutoHotkey Version 1.1.28. for commit and push with just one shortcut (Ctrl+K).
#IfWinActive,ahk_class SunAwtFrame
~^k:: ; thats Ctrl+K
WinWaitActive,Commit Changes ahk_class SunAwtDialog,,3
Sleep,300
send,{CtrlDown}{Altdown}k{Ctrlup}{Altup} ; Ctrl+Alt+K that commits and pushes
WinWaitActive,Push Commits ahk_class SunAwtDialog,,3
Sleep,200
send,{Altdown}p{Altup} ; push
Msgbox,macro for git push in IntelliJ finished `n developed:SL5net, 23.03.2018 17:11`n (%A_LineFile%~%A_LineNumber%)
return
installer for autohotkey : https://autohotkey.com/download/