GitHub uses 62 prefixes for git.
Short answer
git lists the addresses used for Git operations over HTTPS and SSH.
Prefixes
What changed
- 21 Oct 2026
+ 20.250.119.67/32 + 20.250.119.68/32
Allowlist formats
nginx (first 5 prefixes)
allow 140.82.112.0/20; allow 143.55.64.0/20; allow 172.182.252.130/32; allow 172.182.252.133/32; allow 172.182.252.135/32; deny all;
iptables (first 5 prefixes)
iptables -A INPUT -s 140.82.112.0/20 -j ACCEPT iptables -A INPUT -s 143.55.64.0/20 -j ACCEPT iptables -A INPUT -s 172.182.252.130/32 -j ACCEPT iptables -A INPUT -s 172.182.252.133/32 -j ACCEPT iptables -A INPUT -s 172.182.252.135/32 -j ACCEPT
Generate the full list from the CSV, and refresh it on a schedule: providers add and retire prefixes often.
Sources
- GitHub: published IP ranges · checked 5 Nov 2026
- GitHub documentation