### HOW TO CREATE A PULL REQUEST IN GITHUB This is a step-by-step guide on how to fork a repo, make changes, and submit a pull request by asking the maintainers to review and merge it. #### Step 1: To work on a GitHub project, the first step is to fork a repo. Make use of [spotbit](https://github.com/BlockchainCommons/spotbit) to try it out and click the **Fork** button just as indicated in the screenshot below. ![](https://i.imgur.com/Wc0Oizp.png) This action creates a new copy of spotbit repo under your GitHub account with the below URL: https://github.com/deymow/spotbit #### Step 2: Next is to clone the repo by clicking “Open with GitHub Desktop” just as indicated in the image below. **NB:** You need to have GitHub Desktop installed on your local machine. Cloning using GitHub Desktop is preferred over git bash because we want to make sure that all the branches, codes and commits from the original repo are downloaded with no loss of data. The Screenshots below illustrate how to clone from GitHub to your local PC using Open with GitHub Desktop option. ![](https://i.imgur.com/2Ej4Itf.png) ![](https://i.imgur.com/1VlqBgT.png) ![](https://i.imgur.com/W9qIu4a.png) ![](https://i.imgur.com/upk1q9W.png) #### Step 3: Compare your data or repo worked on with that of Blockchain Commons repo cloned earlier #### Step 4: Copy over any new / update files #### Step 5: Do ensure to merge carefully if something was updated on both sides #### Step 6: Commit your fork back to your GitHub account using either GitHub Desktop or Git Bash from your local machine #### Step 7: From your Github account, search for the just committed repo and click on the Pull Request (PR) button to Submit a PR. This will merge your fork into the Blockchain Commons fork ![](https://i.imgur.com/diwUCXq.png)