J:\Work>git --version
git version 2.18.0.windows.1
J:\Work>git config --get http.proxy
'socks5://my_proxy_hostname.ru:1080'
J:\Work>git clone https://github.com/denbkh/denbkh.github.io.git example-repo
Cloning into 'example-repo'...
fatal: unable to access 'https://github.com/denbkh/denbkh.github.io.git/': Proxy CONNECT aborted> git clone https://github.com/denbkh/denbkh.github.io.git example-repo
Cloning into 'example-repo'...
22:34:53.975887 http.c:724 == Info: No valid port number in proxy string (1080')
22:34:53.975887 http.c:724 == Info: Couldn't find host github.com in the _netrc file; using defaults
22:34:53.975887 http.c:724 == Info: Trying 192.168.100.1...
22:34:53.975887 http.c:724 == Info: TCP_NODELAY set
22:34:54.035888 http.c:724 == Info: Connected to socks5.denbkh.ru (192.168.100.1) port 1080 (#0)
22:34:54.035888 http.c:724 == Info: allocate connect buffer!
22:34:54.035888 http.c:724 == Info: Establish HTTP proxy tunnel to github.com:443
22:34:54.035888 http.c:671 => Send header, 0000000121 bytes (0x00000079)
22:34:54.035888 http.c:683 => Send header: CONNECT github.com:443 HTTP/1.1
22:34:54.035888 http.c:683 => Send header: Host: github.com:443
22:34:54.035888 http.c:683 => Send header: User-Agent: git/2.18.0.windows.1
22:34:54.035888 http.c:683 => Send header: Proxy-Connection: Keep-Alive
22:34:54.035888 http.c:683 => Send header:
22:34:54.095888 http.c:724 == Info: Proxy CONNECT aborted
22:34:54.095888 http.c:724 == Info: CONNECT phase completed!
22:34:54.095888 http.c:724 == Info: Connection #0 to host socks5.denbkh.ru left intactConnected to socks5.denbkh.ru (192.168.100.1) port 1080 (#0)