Because perfect security is impossible and you only have to leak your real IP once - especially with committing to github it would be so easy for a tool or plugin to leak that.
Also, there are other git hosting providers out there.
Easy.
Just like it was for Ross Ulbricht!
THAT was the point but thanks for being the thread police and a conversation killer. Next time if I want to digress a little I'll run it past you first.
For other tools/plugins that you can't be certain about you would have to run things in a VM that prevents non-Tor connections - e.g. this is how Qubes/Whonix does things.
Replace Tor with VPN as desired.