Open a git repository.
The 'path' argument must point to either a git repository folder, or an existing work dir.
The method will automatically detect if 'path' is a normal or bare repository or fail is 'path' is neither.
pointer to the repo which will be opened
the path to the repository
0 or an error code
See Implementation
Open a git repository.
The 'path' argument must point to either a git repository folder, or an existing work dir.
The method will automatically detect if 'path' is a normal or bare repository or fail is 'path' is neither.