New: hooks added and configured with default folder ~/.git-template; gitignore fixed