Add `-f` option to `git checkout` to avoid errors