Configure proxy for Git

Open Terminal.app and execute following command:

git config --global http.proxy 'socks5://127.0.0.1:7070'

Git then will use the specified proxy for current user.