Revert "Estimate the required stack size for getting latest change using libgit2"

This is no longer needed after updating libgit2

This reverts commit 37858a523bfae4dbe8984533b8f44056b95fd16e.

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Signed-off-by: Sven Strickroth <email@cs-ware.de>
Honor init.templatedir

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Merge branch 'libgit2-init-templates'