I made a bash function to do this. It assumes that you have ssh access can ~/.ssh/config
set accordingly. The default remote is origin
kick-git() {
remote="${1:-origin}"
ssh $(echo $(git remote get-url "$remote")/hooks/post-receive | tr ':' ' ')
}
Source and run kick-git [remote]