git status
On branch anotherbranch
Your branch is ahead of 'origin/anotherbranch' by 2 commits.
(use "git push" to publish your local commits)
It means that you have 2 commits that are not pushed.
As a best practice is good to run
git fetch
once in a while to get all the server metadata (updated deleted branches, new commits etc)
what is the results of this command:
git log --oneline
it will show you all the log with the commits so yu can see what is the problem