Cannot reset HEAD after pushing to Github