Fixed #21: Resolved logic error with repository path extraction and undefined variable.
Fixed #22: Added API function to parse the name of a repository.
Fixed #23: Added support for the Git log command.
Fixed #24: Added the isCloned() method.
Resolved merge conflicts.