Older versions of git also offered commands in the style of “git-command” as an aid as shells didn't have the logic to complete “git command”. Newer versions don't use that style by default as some newer shells now offer this logic.