title: Git pre-push issue no such file or directory
body: <p>I'm using github for windows with git-lfs, committed the changes to the local branch which were done successfully, then gave an error after i tried to sync to the remote. 
  Trying pushing my changes from the git shell and this error came up</p>
  
  <blockquote>
    <p>error: cannot spawn .git/hooks/pre-push: No such file or directory<br>
    error: waitpid for .git/hooks/pre-push failed: No child processes</p>
  </blockquote>
  
  <p>I then pushed by </p>
  
  <blockquote>
    <p>git push --no-verify </p>
  </blockquote>
  
  <p>it did get pushed but I tried downloading the files and they gave a 404 error.
  Any change that i commit gives the same error of the pre-push hook.</p>