git your branch is ahead of 'origin/master' how to sync up it to remote branch code example Example: my local branch always ahead origin git pull --rebase