At first check that you are pointing to the correct repository. If yes, then you have to set up that repository as remote in your working copy. It can be done as -
$ git remote add your_git_url.git
Note that if you have different directory for different branches, you have to add the remote (here origin) to every directory.
Now, if you want to update the origin url and while adding you are getting an error as "fatal : remote origin already exists", then you have two solution :
Solution 1 : Update URL for a remote repository
git remote set-url origin new_repository_url.git
Solution 2 : Remove origin and add again
git remote rm origin
git remote add new_repository_url.git
Please Like and Share the Blog, if you find it interesting and helpful.