set npm push proxy
git config --global http.proxy http[s]://username:password@proxyipaddress:portnumber
Source: stackoverflow.com
git config --global http.proxy http[s]://username:password@proxyipaddress:portnumber