create a branch in rstudio to sync with an existing repository

about two months ago I downloaded a Rstudio project from a git repository, and worked on it on my PC.

Now, I would need to sync the (many) changes I have made with the git repository. After many searches, it seems that I can make a branch, then pull it, then merge. The info I miss is how to link the project on my PC to the git repository.

From the git tab in Rstudio I see the possibility to make a branch New branch . I also see there is the add remote option there. My question: would adding the URL to the git repository under add remote make a link to the online repository?

PS I have installed git on my PC, have account and access to the git repository. thanks

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.