Change the URI (URL) for a remote Git repository
You can access a Git repository using either SSH or HTTPS and can change to either one depending on your use case.
To check which repository your project is connected to, you can use the following command:
$ git remote -v
To change your project's repository, use the following command: