shan

Results comments of shan

ah, I think this could be implemented as [a `pre-switch` hook](https://worktrunk.dev/hook/#pre-switch)

implemented it as ``` [pre-switch.fetch-branch] command = """ if ! git rev-parse --verify "refs/heads/{{ branch }}" >/dev/null 2>&1 \ && [ -z "$(git for-each-ref "refs/remotes/*/{{ branch }}")" ]; then for...