A simple display of all three configuration levels (system, global and local) to check if you have several http.proxy settings:
git config -l
Then you can continue removing the extra with:
git config --system (or --global or --local) --unset http.proxy
liwp mentions in a comment a:
git config --system (or --global or --local) --unset-all http.proxy
to get all http.proxy entries
source share