Basically, you need to push
to your remote branch again to get rid of the 2 ahead
so to speak.
The master (the one on the top) is your local tracking branch, and origin/master
is a remote tracking branch that records the status of the remote repository from your last push
, pull
, or fetch
. origin
refers to your remote repository and master
is the current branch (also default) for that repository.
So in essence, it says that your branch (master
) is ahead of the remote master branch (origin/master
) by two commits, and that is why I say that you need to push
again.
When you do a git status
on your local, it should give you more clue about what is to be done.