# Functions
GitPath resolves the given path to the .git directory (GIT_DIR).
No description provided by the author
InsideWorkTree checks if the current working directory is inside the working tree of a git repository.
TopLevelDirectory computes the path to the top-level directory of the git repository.