Information on how to use Primer within Figma lives in our design guidelines. You'll be able to find detailed documentation on how GitHub uses Figma.
Primer's component libraries, shared styles, and Octicons can be found in the Figma community at https://www.figma.com/@primer.