Remote Repositories

David Landup
François Dupire

At this stage of the course, we've built a solid understanding of how to manage a local Git repository - how to create one for a project, how the working directory and staging area work, how to add and remove branches, switch between them, commit changes, as well as merge and rebase the work we've done so far.

We're equipped with the knowledge that allows us to follow multiple parallel tracks of work, but also cooperate more easily with our colleagues. However, one thing that wasn't so convenient is that all the work so far has been done on the same machine. Let's face it, that's not very realistic.

Sure, we've had branches to separate workflows, and we've simulated our colleagues working on different tasks by switching between branches and committing code changes, but it was all done on the same machine.

Now is the time to evolve towards working with remote repositories, so that each collaborator can use their own machine, at a different place, at any given time. This will be the focus of this lesson.

Through this lesson, we'll learn what a remote repository is and how we can work with them. We'll then take a look at how to set one up for free using GitHub, and after that, we'll take a look at how we can set up a link between a local and a remote repository.

Start course to continue
Lessson 6/10
You must first start the course before tracking progress.
Mark completed

© 2013-2024 Stack Abuse. All rights reserved.

AboutDisclosurePrivacyTerms