your project directory > .git > config (remove it, or rename it as config.bak in case you need it)
Another workaround, git clone the same project to a different folder. eg
git clone https://[email protected]/myproject/myproject.git myproject-2
go to myproject-2/.git/config (copy)
go to myproject/.git/config (paste)