Like you, your instructor is a human with finite supplies of time and energy. Errors inevitably creep into the SpecCheckers, whose JAR files are sitting in your cloned repository. Your instructor will fix the errors, but how do you get the fixes into your repository? A decade ago you would download the updated JAR files and drop them into your repository manually. But Git provides a better way.
When a SpecChecker needs revising, your instructor will place an updated version in the template repository. In the steps below, we will make it so that you can synchronize your repository with this template quickly.
Your local repository maintains a record of its connection to your repository on GitLab. But it can also have connections to other repositories. Each connection is called a remote. Let’s add a second remote for your instructor’s template repository.
origin; it is the connection to your repository on GitLab.
When your instructors tells you that a SpecChecker has been updated, synchronize your repository with the template through these steps:
This will drag down the updated SpecCheckers. Woo!