func (r *Repo) gitCmd(params []string, dir string) error {
	// if key is specified, use ssh key
	if r.KeyPath != "" {
		return r.gitCmdWithKey(params, dir)
	}
	return runCmd(gitBinary, params, dir)
}
func (r *Repo) gitCmd(params []string, dir string) error {
	
	if r.KeyPath != "" {
		return r.gitCmdWithKey(params, dir)
	}
	return runCmd(gitBinary, params, dir)
}
func ( r * Repo ) gitCmd ( params [ ] string , dir string ) error { // if key is specified, use ssh key if r . KeyPath != " " { return r . gitCmdWithKey ( params , dir ) } return runCmd ( gitBinary , params , dir ) }
// gitCmd performs a git command.
gitCmd performs a git command .