Not a git repository: '/Script/.git' and Can't find file for staging, While packaging for windows 32 and 64

When I try to package my game for windows 32 or 64 I get the following errors:

  • SourceControl:Error: Error fatal: not a git repository: '/Script/.git'
  • PackagingResults:Error: Error Could not find file for staging.

And I don’t know how to put in the output log easily so its easy to read, if you need that please say and ill send it. Any help would be greatly appreciated, thanks! ,