Skip to main content
  1. Learn
  2. Software Development
  3. Guides
  4. Git tutorial
  5. Git basics
  6. Repositories
GuidesSoftware DevelopmentBacklog
Git

Project and code management together.

Repositories

A repository (i.e., repo) is a centrally located folder for storing code. Once you have a Git repository with files and directories, you can start tracking changes and versions.

There are two types of Git repositories: remote and local.

  • A remote repository is hosted on a remote (this could be on the internet or an off-site server; it could even be the same machine in a different path) and is shared among multiple team members.
  • A local repository is hosted on a local machine for an individual user.

While you can use Git version control features with a local repository, collaboration features — like pulling and pushing code changes with teammates — can only be done on a remote repository.

Remote vs local repositories
Remote and local Git repositories work together.

Subscribe to our newsletter

Learn with Nulab to bring your best ideas to life