public static DirectoryInfo GetParentOfGitDirectory(string beginningDirectory) => DirectoryTools.GetDirectoryOfDirectoryAbove(".git", beginningDirectory, includeBeginningDirectory: true);