How to get git hub push events using curl

I need to fetch all push events in my remote repo for my organization with curl or git api. I cannot use the web hook feature in GitHub because my webhook server is running behind a firewall.So github.com cannot call my webhook url.i need to get the webhook payload using curl

when i try:-


curl -X GET -u $GITHUB\_USER:$GITHUB\_PASSWORD [https://api.github.com/repos/:org/:repo/events](https://api.github.com/repos/:org/:repo/events)

getting all events like push and create,i only need push events