The Mijingo Blog

Latest news, updates, free tutorials, and more from Mijingo.

What is a Git Remote Repository?

by Ryan Irelan

By default Git is completely local to your computer. You can optionally have remote copies of the repository (either on a central server or service—like Github—or on a co-workers computer).

To get your copy of the repository up to a remote server you use the command git-push. If you want to retrieve others’ changes to the repository you use git-pull.

A Remote Repository in Git is a special type of repository in that it doesn't have a Working Tree. This is different than your local repository, which has your project files and then a hidden .git directory.

You can host your own Git remote repository or use one the popular online services, like Github, Gitlab, or Bitbucket.

Git the Essentials

Learn everything you need to be proficient in Git. 40+ videos, 6 hours of learning, a better understanding of Git.

Get Git Essentials

Filed Under: Git