title: How to get pkill on git bash
body: <p><strong>background</strong></p>
  <p>years ago I made a Minecraft spigot server and found a bash script to turn it on, in the script, it has a restart function that makes use of pkill to kill the old server and start a new one, I tried using it on my new spigot server to find that bash doesn't contain pkill, any google search I use relating to &quot;how to get pkill on git bash windows 10&quot; doesn't give me anything useful, the script has the following in it, the file is a .sh if that matters:</p>
  <pre><code># /bin/sh
  while true
  do
  java -Xms4G -Xmx6G -jar spigot-1.16.3.jar nogui
  pkill -f &quot;spigot&quot; #Not really needed, just there in case of anything.
  echo Its off..sleeping for 5
  sleep 5
  done
  </code></pre>
  <p><strong>My question is,</strong>
  what can I use to kill the process by name like pkill would, or could I somehow install pkill to just work?</p>
  <p>any help is appreciated and I apologise in advance if this is a stupid question.</p>