Solution: delete the .Git submission rule file (.Git/hooks/pre commit)
Specific steps:
Enter the .Git folder of the project (the folder is hidden by default, view hidden items)
then enter the hooks folder
delete the pre commit file
resubmit GIT.