Orchestrator package-size limitation - exclude GIT-folder

Currently a robot can have a maximum size of about 30-35 mb to publish to orchestrator.
If i set my project as a git project the .git folder inside the project’s folder is in most cases bigger than the maximum size. if i try to publish to orchestrator it fails. is there a way to exclude this folder as this is not needed for running the robot?