So here\'s the situation:
$ git status # On branch master # Your branch is ahead of \'origin/master\' by [x] commits. #
If you run a git pull origin instead of a git pull origin master, there won't be the issue with the Your branch is ahead of 'origin/master' by ... commits. message.
git pull origin
git pull origin master
Your branch is ahead of 'origin/master' by ... commits.