For the latter I use often use `git stash` for that; stashing off the test case/data, then at each step of the bisect, you can do `git stash apply` (rather than `git stash pop`) to reapply the same changes multiple times.
Before moving on, a quick `git reset —-hard` will get back to a clean flip
Before moving on, a quick `git reset —-hard` will get back to a clean flip