Master git rebase -i to squash, edit, reorder, and drop commits. Learn how to curate a clean, logical commit history before opening a pull request.