@Me4502 was having issues with git, so I tested checking out the SpongeVanilla repo.
To anyone getting this error:
I suggest updating your copy of git, as updating worked for both @Me4502 and myself.
Same issue a few days ago. I thought there was something weird with SpongeAPI’s last commit (actual - bugged).
I fixed by changing the hash of the commit the API was pointing to.