Your local branch is develop tracking origin/develop , and they may not always have the same commits in them.
$ cat ~/.git/config
[remote "origin"]
url = git@something.com/repo.git
fetch = +refs/heads/*:refs/remotes/origin/*
This means that we have a "remote" (a repository living somewhere else), arbitrarily called "origin."
develop , origin/develop. , . develop, . pull:
$ git status
on branch develop
$ git pull
...pulls latest changes from origin
a git pull : a fetch a merge. , , - ,
git fetch origin
origin/develop, develop.
" " .git, "origin/develop".
, origin, git merge origin/develop. , " ", , git , origin origin/develop . , git.
, develop, , (), origin/develop.
:
git fetch --all
git rebase origin/branchname
, , , . , develop, git pull .