When maintaining a team of developers and keeping track of all the code changes it is important to be able to select pieces of functionality that you can include and exclude at will.
This will allow one to manage the progress of a project better.
At times you may need to go back in the history of the repository and select a single commit or two and re-commit them in your current branch.
Git makes this pretty easy with git cherry-pick
Here is one way to do it:
promt$> git cherry-pick bB07Q8b Finished one cherry-pick. [master]: created bB07Q8b: "Some previous commit comment." 7 files changed, 63 insertions(+), 3 deletions(-) create mode 100644 lib/tribble/task.rb