You can use this icon in React, Ruby, or Jekyll. Here are code examples for each:
<GitPullRequestIcon size={16} />
<%= render(Primer::Beta::Octicon.new(:"git-pull-request", size: :small)) %>
{% octicon git-pull-request height:16 %}