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