#git learning of the Day: Be careful with git worktrees when you want to perform some advanced git history rewriting black magic to repos.
When you copy a bare repo with an active worktree to another location to test your spells, the worktree itself will still point to the *old* location and you can mess up the original repo when something goes wrong.