modman is a script to manage linking files from external repositories into another project when files need to be interspersed within a project. With modman, you can specify in a text file where you want your directories and files to be mapped to, and it will maintain symlinks for you so that your code is easy to hack and deploy.
https://github.com/colinmollenhour/modman
Developing extensions for software that doesn't allow you to separate your files from core files, and keeping that extension under version control and making it easy to deploy is much easier with Modman.
Modman allows you to structure your code repository in a very simple way and have the contents mapped to a different location at deployment. With modman, you can specify in a text file where you want your directories and files to be mapped to, and it will maintain symlinks for you so that your code is easy to hack and deploy. All of your cloned/checked-out modules will be kept in a directory named .modman in the location where you run modman init.
Development of this script was inspired by Magento which forces you to mix your extension files all throughout the core code directories.