lib/Github/Api/GitData/References.php
public function show($username, $repository, $reference)
    {
        $reference = $this->encodeReference($reference);

        return $this->get('/repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/git/refs/'.$reference);
    }
public function show($username, $repository, $reference)
    {
        $reference = $this->encodeReference($reference);

        return $this->get('/repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/git/refs/'.$reference);
    }
public function show ( $ username , $ repository , $ reference ) { $ reference = $ this -> encodeReference ( $ reference ) ; return $ this -> get ( '/repos/' . rawurlencode ( $ username ) . '/' . rawurlencode ( $ repository ) . '/git/refs/' . $ reference ) ; }
Show the reference of a repository.

@param string $username
@param string $repository
@param string $reference

@return array
Show the reference of a repository .