I wanted to pull commit \"3a2ceef391af73994dfeb0d8ef57ed6a52ef4238\" from branch android. I used the command:
$ git fetch origin 3a2ceef391af73994dfeb0d8ef57ed6a
I was facing such an error while doing a git pull. Doing below helped fix the issue for me.
git remote prune origin git pull