GitHub can see what you send it. If you're concerned about leaking IP data, use a VPN and a remote box for git operations.
[0] https://medium.com/datadriveninvestor/keystroke-dynamics-wha...
Edit: The main page of above site has a lot more publications referenced. Worth a look.