Avoid checkout failure due to untracked files

- Avoid checkout to fail because of untracked files by forcing the checkout (`--force` switch)
- Remove the untracked files after a `reset hard` as I think most people expect this behavior
- Reset after checkout in every cases for consistency