Occasionally developers need a patched (non-stable) version of a module. The way to to this is to add it via git to the sub sites docroot.
- In this case go the site in your git repository
- Create a "patched" folder and upload the patched module into it
- Commit via git.
- Run update on the site
- The subsite specific module should override the module found in sites/all