Creates a new Git repository in the given folder.
TODO: - Reinit the repository - Create config files
pointer to the repo which will be created or reinitialized
the path to the repository
if true, a Git repository without a working directory is created at the pointed path. If false, provided path will be considered as the working directory into which the .git directory will be created.
0 on success; error code otherwise