public function command($command, $repoPath = null)
{
if (!$repoPath) {
$repoPath = $this->repo;
}
// "-c core.quotepath=false" in fixes special characters issue like ë, ä, ü etc., in file names
$command = 'git -c core.quotepath=false --git-dir="' . $repoPath . '/.git" --work-tree="' . $repoPath . '" ' . $command;
return $this->exec($command);
}