Skip to content

    Remote repository

    Reading time: 2 min.Editorially reviewed on:

    Definition

    A connected repository enables the exchange of development states between work environments.

    From the perspective of a local Git project, a remote repository is another repository with which changes are exchanged. Git manages names and addresses for this. The remote name origin is a common designation but neither mandatory nor a synonym for GitHub or a specific server type.

    Simply explained

    Your project knows another repository from which it can fetch changes or to which it can send changes.

    Why it matters in practice

    Teams can exchange shared development states and determine which repositories are used for collaboration, adoption, or publication.

    Example from business

    Possible example: A development team registers its shared GitHub repository as a remote and fetches new development states before submitting its own changes for review.

    Limits and pitfalls

    • An incorrect remote address can send changes to the wrong target. Access, selected branch, and exchange direction must be clear before write commands.

    Origin & history

    Git enables collaboration between multiple repositories; named remotes simplify repeated communication with known counterparts.

    Use in mid-sized companies

    • A company can document remote targets and access rights and check during project handovers whether local working copies are connected to the intended shared repository.

    Frequently asked questions

    Must a remote be located on the internet?

    No. A remote can also be reachable within an internal network or via a local path.

    Sources

    Editorially reviewed on:

    On this page

    Next step

    Put knowledge into practice