create_repository
Description:
Parameters:
| this | 
           a CloneOptions.  | 
      
| path | 
           the repository path.  | 
      
| is_bare | 
           whether a bare repository should be created.  | 
      
Returns:
| 
           a Repository or null in case of an error.  |