Npm install gulp-- save-dev Times error, but report git error, as shown in the figure

I hope the god will give me some advice.

The same error is reported when

npm instll.
package.json says "gulp": "github:gulpjs/gulp-sharp4.0", and
has no local and remote branches.

Sep.16,2021

1. 
2.  Git:Mac OS X  Git
3.  Gulp npm uninstall -g gulp 
4.  npm install -g gulpjs/gulp-cli-sharp4.0  Gulp 4
Menu