TecAdmin published a guide about how to add a Git remote repository.
How To Add a Git Remote Repository
Every time you clone a Git repository, you are actually downloading your project locally. This means that you will have a local copy of the Git repository tied to your project. Local copy that was created this way will be automatically connected to the remote repo. But what if you created a local copy first?