You download the diff your self and apply it, there is nothing in git that will make it download it from the website and apply it. I generally just click the download raw diff link on the page and use the patch application to apply it. (patch -p1 --dry-run < downloaded_diff.diff) , git apply may work, but i have never used it.
install arcanist it’s a little bit more work, but once it is installed, applying any patch is as easy as typing arc diff D5363 on the console.
the first choice worked for me but the second one i get this.
Usage Exception: Unable to find any git commit named ‘Dxxxx’ in this repository.
after looking at the Arcanist user guide, it says arc diff xxxxx is for sending commits for review not for trying!.
Oh that does not work that way, patches are generally source code modifications (but hard to say without knowing what patch you have), so usually you get the blender source code, you apply the patch and you rebuild blender from scratch.