I think this could be easy to set up,
- Configure the attachment folder path, for example, ‘images’
- Add this folder to the file .gitignore, so GIT does not version it.
- Link the attachment folder path to dropbox. (in Linux would be to make a symbolic link)