branch is ahead by commits reset code example Example: my local branch always ahead origin git pull --rebase