If you are trying to run git commands to pull and push and you are getting this. Here is the solution for you.
Open file /etc/resolv.conf and add following line in it
Open file /etc/resolv.conf and add following line in it
nameserver 8.8.8.8
Now save the file and try to pull/push again.