The version of magit-stgit.el in this repository is compatible with the NEXT branch of magit. The MASTER branch of the magit repository still bundles a compatible version of magit-stgit.el. Most likely you are using magit's MASTER branch, and should therefor NOT use this repository.