git pull error :error: remote ref is at but expected

$ git pull

error: cannot lock ref ‘refs/remotes/origin/develop’: is at 002c7e805ae3c1472c2268652354167a7311b1ea but expected dbe09d2fdabc0222a81616b7206b6bf171de87bf

 ! dbe09d2fda..100f95eb23  develop    -> origin/develop  (unable to update local ref)

$ git update-ref -d  refs/remotes/origin/develop

$ git fetch –all

Fetching originFrom

 * [new branch]            Develop    -> origin/Develop

 * [new branch]            develop    -> origin/develop

$ git pull

 * [new branch]            Develop    -> origin/Develop

Updating a0c5507a33..3568e104a2

Fast-forward

10 files changed, 1370 insertions(+), 1336 deletions(-)

https://stackoverflow.com/questions/11796580/git-pull-error-error-remote-ref-is-at-but-expected