Git clone problem for jetson nano

Hi
I try to clone from github but everytime occurred the same problem

fatal: unable to access ‘GitHub - NVIDIA/jetson-gpio: A Python library that enables the use of Jetson's GPIOs’: Could not resolve host: github.com

I try to find solution like input
$ git config --global http.proxy
$ git config --global --unset http.proxy

but didn’t work.

Thank you for your help!

That’s entirely a DNS issue. How is your Nano set up for network access? Via the micro-B USB to a host? Direct access to a router? What is your output from “ifconfig” and “route” (and if working with WiFi, “iwconfig”)? If using the micro-B USB, then did you enable network sharing on the host PC?

thank you for your replay, it is really a network problem, it works when I recheck the internet! thank you !