One nice thing about git is that you can easily amend your commit history. If you've done several related refactor commits in a row, then sometimes it makes sense to squash them into one, using `git rebase -i` [1].
[1] http://gitready.com/advanced/2009/02/10/squashing-commits-wi...