namespace HaWeb.FileHelpers; public interface IGitService { /// /// Gets the current Git state (commit SHA, branch, timestamp) /// GitState? GetGitState(); /// /// Pulls latest changes from the remote repository /// /// True if pull was successful and changes were detected, false otherwise bool Pull(); /// /// Checks if the repository has a different commit than the provided SHA /// bool HasChanged(string? previousCommitSha); }