# Functions
GetCommits returns a list of commits from a commit range
The function accepts a Git commit range (e.g., "HEAD~5..HEAD") and returns a list of commits in the range.
InstallHook installs the commit-msg hook in the current git repository
Example usage:
if err := git.InstallHook(); err != nil { fmt.Printf("Error installing hook: %v\n", err) return }
Prints a success message if the hook is installed successfully.