If one were to embed an image into a document that automatically loads (e.g. a README), they could quite easily grab the IPs of targeted users.
GitHub combats this by implementing a media proxy, which is a safer mechanism for preventing these kind of attacks. For example, if an external image is embedded into a README, its request goes through camo.githubusercontent.com.
This prevents the attacker from gaining the IP of victim users. While the external images are still loaded, they are loaded from GitHub's servers, then fed back to the user and into the browser.
upstream issue: https://github.com/go-gitea/gitea/issues/916
upstream pull: https://github.com/go-gitea/gitea/pull/12802
example proxy: https://github.com/cactus/go-camo