visual studio project associated with multiple git repositories, but needs to be only one

  Kiến thức lập trình

On the bottom right hand side in Visual Studio it sais my project is associated with two git repositories:

One is the correct one, and one is a repository for a different project. How do I disconnect the repository that is from a different project?

There is a bunch of stuff I tried to resolve this, which resulted in loosing one year of code, were it not that I made a backup. It’s confusing me.