Skip to content

Remote

← All terms · Git fundamentals

Also called Remote repository, Origin

A version of your project that is hosted on the internet or network, used for syncing code and collaborating with other developers.

What it is

A remote is a shared repository stored on a server, such as GitHub or GitLab. Developers push their local commits to a remote to share them, and pull from a remote to receive updates made by their teammates. A repository can have multiple remotes, but the default primary remote is usually named "origin."

When you would use it

You interact with a remote whenever you need to collaborate, back up your code to the cloud, or deploy your application from a centralized server.

Common operations

  • Pushing local code changes to GitHub for backup and sharing.
  • Fetching the latest codebase updates from a team repository.

Related terms

Where this is taught

Going deeper