Package gitpath answers whether a path lies inside a Git working tree or a
bare Git repository. Private stores (evidence snapshots, query results)
refuse such a location, so private bytes never end up next to files a
person might commit or push.
Inside reports whether path, or any of its ancestors, is a Git working tree
(holds .git) or a bare repository (holds HEAD, objects and refs). A path
that is a file is judged by its folder; a path that does not exist yet is
judged by its spelling.