I could make it work with following information in .gitconfig file -
# This is Git's per-user configuration file.
[user]
name = <user name>
email = <email>
[http]
sslVerify = false
proxy = "<proxyserver ip address:port>"
[https]
sslVerify = false