Group your commits logically
Each changeset you commit to the repository should
correspond to one task. A “task” might be a bug-fix or a feature. Include
all of the repository changes which were necessary to complete that task
and nothing else. Avoid fixing multiple unrelated bugs in a single changeset.