plugin doesn't work with git worktrees (where ".git" is a file)

when using git-worktree, the .git is a file, not a directory. the current plugin assumes it's always a dir.

see this page for more info: https://git-scm.com/docs/gitrepository-layout#_description

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information