---
title: 'Fork a GitHub Repository'
description: 'GitHub repo fork loyalty rule. Reward users for forking your GitHub repository.'
keywords: ['GitHub fork rewards', 'open source contribution', 'repo fork incentive', 'developer loyalty']
---

> **For AI agents:** the complete documentation index is at [llms.txt](https://docs.snagsolutions.io/llms.txt). Append `.md` to any page URL for its markdown version.

import RewardWithMultiplierFixedAmount from '/snippets/rules/reward-with-multiplier-fixed-amount.mdx'

## **Overview**

This loyalty rule allows admins to reward users for forking a specific [GitHub](https://github.com/) repository. This rule is useful for encouraging developers to contribute to your open-source projects and build community engagement.

<Frame>
  ![Snag admin fork a GitHub repository rule configuration form](https://assets.snagsolutions.io/public/docs/rules/github-repo-fork.png)
</Frame>

## **Prerequisites**

- The user must have connected their GitHub account to Snag.
- The user must fork the specified GitHub repository.

## **Rule Configuration Fields**

<RewardWithMultiplierFixedAmount />

### **Basic Settings**

- **Update Cadence**: The Fork GitHub Repository rule rewards users **immediately** upon successful verification that the repository has been forked.
- **User Reward Frequency**: This is a one-time reward that users can claim after forking the repository.

### **Custom Settings**

- **Skip the multiplier for this rule**: Toggle to skip the multiplier for this rule
- **GitHub Repo URL** \*: The full URL of the GitHub repository that users need to fork (e.g., `https://github.com/owner/repository`). This is a required field that identifies the target repository.

## **Verification Process**

Users verify their GitHub repository fork through the following process:

<Steps>
<Step title="Connect GitHub account">
  Users must first connect their GitHub account to Snag if they haven't already done so.
</Step>

<Step title="Fork the GitHub repository">
  Users navigate to the specified GitHub repository using the provided URL and
  click the fork button to create a fork of the repository.
</Step>

<Step title="Claim the reward">
  After forking the repository, users can claim the reward through the loyalty
  rule interface.
</Step>

<Step title="System verification">
  The system verifies that: - The repository has been forked by the user's
  connected GitHub account - The fork is a direct fork of the specified
  repository
</Step>

<Step title="Reward distribution">
  Once verified, users receive their reward immediately.
</Step>
</Steps>

## **Important Notes**

<Info>
  The GitHub Repo URL should be in the format
  `https://github.com/owner/repository`.
</Info>
