diff --git a/src/GitBranches.php b/src/GitBranches.php
index <HASH>..<HASH> 100644
--- a/src/GitBranches.php
+++ b/src/GitBranches.php
@@ -68,6 +68,6 @@ final class GitBranches implements IteratorAggregate
      */
     public function head(): string
     {
-        return trim($this->gitWorkingCopy->run('rev-parse', ['--abbrev-ref HEAD']));
+        return trim($this->gitWorkingCopy->run('rev-parse', ['--abbrev-ref', 'HEAD']));
     }
 }
Update head method to seperate args