Is "pull" all you did? What about "clone", "checkout", and "fetch"????
get-the-latest-code-from-a-git-remote-branch-using-powershell-command
If it's getaddrinfo that's failing I doubt it's a PowerShell problem. Start by checking your firewall and, maybe, anti-virus too.
fatal-unable-to-access-link-getaddrinfo-thread-failed-to-start