I was thinking about sending all the files in my dev environment, including a copy of the database I use locally and the files used in my environment, so the other developer could use it instead of copy the production version because it's too big. My idea is to do this:
Development: Track all files including wp-content/uploads
Production: Receive all files except from wp-content/uploads
I can't include this folder in .gitignore because I want to upload it to the repository, but I need to exclude this content from the production because on the server I'm using a webhook and git pull to update the live site. How would you solve this?