Skip to main content
  1. Learn center
  2. Software Development
  3. Guides
  4. Git tutorial
  5. How to use Git
  6. How to use Git on Mac
  7. Pull from a repository
GuidesSoftware DevelopmentBacklog
Git

Project and code management together.

Pull from a repository

Let’s now pull the latest change (that we just pushed in the previous step) from the remote repository to our local repository (i.e., the "tutorial" directory).

Return to the bookmarks list view, and double-click on the tutorial repository.

Now that our remote repository is up to date with the changes from tutorial2, let’s pull the change and synchronize our initial repository directory, tutorial.

To execute a pull, click the “Pull” icon on the toolbar.

Click Pull button on the toolbar

No changes are necessary on the next screen, so click “OK.”

Click OK button

Notice that the main has moved forward to the same level as the “origin/main.” This means that our "tutorial" local repository is now up to date with the latest changes from the remote repository.

The origin/main have advanced to the same position

Open the file sample.txt and check the content.

Anyone can learn Git with this tutorial and Backlog
add: Register a change in an index

You should see add: Register a change in an index added to the content.

Subscribe to our newsletter

Learn with Nulab to bring your best ideas to life