Mirror workspace state to git refs when in a git repo
When tsk init runs inside a git repository, write a .tsk/git-backed marker
pointing at the .git directory. After every successful command, mirror task
files and metadata into refs/tsk/{tasks,archive,meta}/* as blobs. The on-disk
files remain authoritative; git refs are an additive durable mirror so the
file-based workflow keeps working unchanged outside of git repos.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>