title: How to listen to webhooks from bash script?
body: <p>I want to listen to webhook from <em>GitHub</em> and launch a bash script (<code>git pull</code>) on any new commit.</p>
  
  <p>I don't want to use <code>python</code> or <code>nodejs</code> only bash script. 
  Is it possible? I believe that <code>netcat</code> can do it. </p>
  
  <p>I don't need to parse the request. Only listen to specific port, and if someone try to connect to that port, to run a script.</p>
  
  <p><strong>Optional:</strong> Maybe netcat can pipe the request body, to <code>awk</code> or <code>pgrep</code> and filter only to <code>post</code> request, or even extract the REPO name to an enviroment variable.</p>