Git push over proxy temperately

Home: 127.0.0.1
Git server whitelisted office IP only

Tab1:

$ ssh -D 2001 office.ip

Opened a socks4 proxy on 127.0.0.1:2001

Tab2:

$ git config --global http.proxy socks4://127.0.0.1:2001
$ git push
$ git config --global --unset http.proxy
Google