GIT — when you are not able to pull files to your local system
Due to some error, the latest files were not being pulled in the git local folder. Steps that helped:
git reset --hard head
git clean -xffd
(this detaches the head)git checkout master
Thats it! The head is attached again!