To use this, first ensure you can build the kernel modules as detailed on https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi/core_release
git checkout release/core46 # or whatever release you're using; this documentation will assume core46.
A make command, a sed command, and another make command. DON'T INSTALL YET (we'll do that with DKMS).
Now, make sure your cloned repo is located at /usr/src/iwlwifi-release-core46
. Then:
sudo dkms add -m iwlwifi -v release-core46