For setting the proxy you need to edit a file named .gitconfig. This file should be located in your user folder, C:\Users\[xxxxx]\.gitconfig with [xxxxx] being your windows username.
In this file you need to add following lines, adapted to your proxy:
[http] proxy = http://proxy.example.com:8080 [https] proxy = http://proxy.example.com:8080