I wanted to pull commit \"3a2ceef391af73994dfeb0d8ef57ed6a52ef4238\" from branch android. I used the command:
$ git fetch origin 3a2ceef391af73994dfeb0d8ef57ed6a
I got the same problem and unsuccessfully tried some of the above solutions. What worked for me is:
git fetch --unshallow && git fetch origin && git reset --hard origin/master