Set GIT_TEMPLATE_DIR in the testsuite, like it's done in git
Otherwise, the git configuration affects the testsuite. Since we don't
have git templates in the source tree, use our "template" directory.
No templates are really needed, it's just a directory with known
contents.
Remove the command that moves .git/hooks away, as it's not created
anymore. Create empty .git/info/, as some tests assume it to exist.
Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: Karl Hasselström <kha@treskal.com>