I am using following command
git config --global http.proxy http://myusername:mypassword@myproxyserver:8080
Here, mypassword has \'@\
\'@\
Try and percent encode your special character:
git config --global http.proxy http://myusername:mypa%40ssword@myproxyserver:8080 ^^^ %40=@