Select your PC environment:
In this section, we are going to pull the latest change from the remote repository to our local repository (tutorial directory).
Windows
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", right-click on the tutorial directory and select pull from the right-click menu.

Click "OK".

Pull will be in progress. Once complete, click "Close" to finish.

Click TortoiseGit > Diplay Log from the right-click menu. You will now notice that master has moved forward to the same level as origin/master. This means that our tutorial local repository is now up to date with the latest changes from the remote repository.

Mac
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 "Pull" on the toolbar.

In the next screen, you do not have to change anything, just proceed with clicking "OK".

You will now notice that master has moved forward to the same level as origin/master. This means that our tutorial local repository is now up to date with the latest changes from the remote repository.

Command Line
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, use the "pull" command. If you do not include the repository name, the pull will be executed on the repository under the alias of "origin".
$ git pull ...
Execute the following command.
$ git pull origin master
Username:
Password:
From https://monkey.backlogtool.com/git/BLGGIT/tutorial.git
* branch master -> FETCH_HEAD
Updating ac56e47..3da09c1
Fast-forward
sample.txt | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
Let's verify that the history is updated with the "log" command.
$ git log
commit 3da09c1134a41f2bee854a413916e4ebcae7318d
Author: eguchi
Date: Thu Jul 12 18:02:45 2012 +0900
append description of the add command
commit ac56e474afbbe1eab9ebce5b3ab48ac4c73ad60e
Author: eguchi
Date: Thu Jul 12 18:00:21 2012 +0900
first commit
Looks good, the new commit that we have added in "tutorial2" is now listed under this repository's history log.
Let's open the file sample.txt and check the content.
Git commands even a monkey can understand
add: Register a change in an index
We should see the newly added content "add: Register a change in an index"