I don't remember how exactly, but I had set up an environmental variable on Windows. This is not inside the Windows advanced settings -> Environmental Variables.
I have tried to unset it in many ways including, from git-bash
:
$ unset DUMMY
$ env | grep DUMMY
This works only for the current session. When I restart or open a new terminal I can still see the variable set. I also tried to unset it from PowerShell as follows:
$ Remove-Item Env:\DUMMY
But like the previous technique, this is only for the current session. How can I find where this environmental variable is being loaded?
PS: To clarify, this is an environment variable that I created myself some weeks ago, but I forgot where/how I had set it to stay persistent.