# Functions

GetCurrentTag returns the tag of the HEAD commit of the git repository in the specified directoryIt returns an error if git isn't installed, or if there is some sort of I/O problemIt does not return an error if git exits with a non-zero exit code, it assumes this means there are no tags.
GetCurrentTreeHash returns a hash of the git repository, consisting of the currentlycommited files, as well as any unstaged changes in the provided directories.
GetGitRoot returns the directory which contains the .git folder.