Refactored Git command execution in prepation for "hooking" it for receive-pack commit analysis