Conan upload fails with a git error

This error isn’t from Nexus its from Conan. I’d hazard from the error it expects the command to be run on a project managed by git but you may have more success asking this question on a Conan support forum.