func IsGitDir(dir string) bool { cmd := cmd.New("git") cmd.WithArgs("--git-dir="+dir, "rev-parse", "--git-dir") return cmd.Success() }
func ForwardGitHelp() error { cmd := cmd.New("git") cmd.WithArgs("help") return cmd.Spawn() }