If you are moving your development machine from an unrestricted to a restricted network and back, the chances are high that you will have problems using ssh or git dependent on the network where your computer is currently set up.
A good way to circumvent this is to use a local development proxy (like fiddler) on your computer and to tunnel all connections through it.
For example I am running fiddler on my machine on port 8888 (accepting external connections) and I am using the following setup: