moved hooks into .gitconfig project folder; fixed check for deleted files; fixed eol issues