public function get_current_branch( $repo ) {
		$current_branch = ! empty( $this->cache['current_branch'] )
			? $this->cache['current_branch']
			: $repo->branch;

		return $current_branch;
	}
public function get_current_branch( $repo ) {
		$current_branch = ! empty( $this->cache['current_branch'] )
			? $this->cache['current_branch']
			: $repo->branch;

		return $current_branch;
	}
public function get_current_branch ( $ repo ) { $ current_branch = ! empty ( $ this -> cache [ 'current_branch' ] ) ? $ this -> cache [ 'current_branch' ] : $ repo -> branch ; return $ current_branch ; }
Get the current repo branch.

@access public

@param \stdClass $repo

@return mixed
Get the current repo branch .