git your branch is ahead of 'origin/master' by 2 commits code example Example: my local branch always ahead origin git pull --rebase