If you have 1 source code with git remote from Github and you want to upload to Bitbucket (or other website manage source code).
You use:
git remote -v
And you receive result:
origin https://gitlab.com/vn-hrx/hrx-backend.git (fetch)
origin https://gitlab.com/vn-hrx/hrx-backend.git (push)
Now, you need to remove current remote:
git remote rm origin
And you add new remote git that you want:
git remote add origin git@bitbucket.org:hrxbackend/hrx-backend.git
And you check it again
git remote -v
origin git@bitbucket.org:hrxbackend/hrx-backend.git (fetch)
origin git@bitbucket.org:hrxbackend/hrx-backend.git (push)