Creates a new git repository in the given folder.
| location |
the location of the repository. |
| is_bare |
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. |
|
a newly created Repository. |