TL;DR
Last week I learned from a developer very useful git feature, add to repository only part of file changes.
This was part of unintentional pairing with a developer. I stopped by his desk in order to discuss one of his pull requests, and learning magic just happened.
Here is screencast for git patch feature.