So you do not have github installed and want to apply patches to your osTicket site.
example patch
https://github.com/osTicket/osTicket/pull/6381
You can add .patch to the end of the URL to get the patch file like this
https://github.com/osTicket/osTicket/pull/6381.patch
This will redirect you to
https://patch-diff.githubusercontent.com/raw/osTicket/osTicket/pull/6381.patch
I then create a file on the local server [6381.patch] in the root folder of osTicket and put the page content into it.
From a command prompt run `patch -p1 < 6381.patch`
You should get an output that looks something like:
myusername@neweb:/var/www/support$ patch -p1 < 6381.patch
patching file api/pipe.php
patching file include/api.cron.php
patching file include/api.tickets.php
patching file include/class.ajax.php
patching file include/class.api.php
patching file include/class.controller.php
patching file include/class.mailfetch.php
patching file include/api.cron.php
myusername@neweb:/var/www/support$
Now the patch has been applied.