This exercise will show you how to synchronize your local history with an history hosted on a remote server (on GitHub, Bitbucket, etc ).
In this example, you have two branches, one local branch master
and its copy on origin
(which is an alias for your remote repository ).
The last commit is in the local history but not in the remote one.
If you synchronize both branches, you will bring the reference of the remote master
branch to the same commit as the one of the local branch:
Pushing these modifications onto the remote history can be achieved with git push
(voir documentation).