If anyone facing such issue again in future. Setting following solved for me.
git config --global url."[email protected]:".insteadOf "https://github.com/"
It replaces https with git.
https
git