Creates a new Git repository in the given folder.
TODO: - Reinit the repository - Create config files
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.
GIT_SUCCESS or an error code