/github-for-non-tech

How to fork a project on GitHub?

Fork a GitHub project easily: sign in, locate the repo, fork, clone, add upstream, branch, commit, push changes, and open a pull request.

Matt Graham, CEO of Rapid Developers

Book a call with an Expert

Starting a new venture? Need to upgrade your web app? RapidDev builds application with your growth in mind.

Book a free No-Code consultation

How to fork a project on GitHub?

 
Step 1: Sign in to GitHub or create an account
 

  • Open your web browser and go to https://github.com.
  • If you already have an account, click Sign in in the top-right corner and enter your credentials.
  • If you don’t have an account, click Sign up, then follow the on-screen instructions to register.

 
Step 2: Find the repository you want to fork
 

  • Use the search bar at the top of the page to search for the project name or owner.
  • Click on the repository name in the search results to open its main page.

 
Step 3: Fork the repository into your account
 

  • On the repository’s main page, locate the Fork button in the top-right corner.
  • Click Fork. GitHub will copy the repository into your personal account.
  • Once the process completes, you’ll be redirected to your newly created fork under https://github.com/your-username/repo-name.

 
Step 4: Clone the fork to your local machine
 

  • On your fork’s GitHub page, click the green Code button.
  • Copy the repository URL (HTTPS or SSH).
  • Open a terminal or command prompt on your computer and run:

git clone https://github.com/your-username/repo-name.git
  • Change into the project directory:

cd repo-name

 
Step 5: Add the original repository as an upstream remote
 

  • This lets you pull in upstream changes from the original repo.
  • Run:

git remote add upstream https://github.com/original-owner/repo-name.git
  • Verify the new remote:

git remote -v

 
Step 6: Create a new branch for your changes
 

  • Always work on a feature or fix in its own branch. For example:

git checkout -b feature/my-improvement

 
Step 7: Make your changes locally and commit
 

  • Edit, add, or delete files in your code editor.
  • Stage your changes:

git add .
  • Commit with a descriptive message:

git commit -m "Add feature X and fix bug Y"

 
Step 8: Push your branch to your GitHub fork
 


git push origin feature/my-improvement

 
Step 9: Open a pull request against the original repository
 

  • Go to your fork on GitHub and switch to the feature/my-improvement branch.
  • Click the green Compare & pull request button.
  • Fill in a title and description for your PR, then click Create pull request.

 
Step 10: Keep your fork up to date
 

  • Fetch upstream changes regularly:

git checkout main
git fetch upstream
git merge upstream/main
git push origin main
  • Rebase or merge as needed into feature branches to avoid conflicts.

Want to explore opportunities to work with us?

Connect with our team to unlock the full potential of no-code solutions with a no-commitment consultation!

Book a Free Consultation

Client trust and success are our top priorities

When it comes to serving you, we sweat the little things. That’s why our work makes a big impact.

Rapid Dev was an exceptional project management organization and the best development collaborators I've had the pleasure of working with. They do complex work on extremely fast timelines and effectively manage the testing and pre-launch process to deliver the best possible product. I'm extremely impressed with their execution ability.

CPO, Praction - Arkady Sokolov

May 2, 2023

Working with Matt was comparable to having another co-founder on the team, but without the commitment or cost. He has a strategic mindset and willing to change the scope of the project in real time based on the needs of the client. A true strategic thought partner!

Co-Founder, Arc - Donald Muir

Dec 27, 2022

Rapid Dev are 10/10, excellent communicators - the best I've ever encountered in the tech dev space. They always go the extra mile, they genuinely care, they respond quickly, they're flexible, adaptable and their enthusiasm is amazing.

Co-CEO, Grantify - Mat Westergreen-Thorne

Oct 15, 2022

Rapid Dev is an excellent developer for no-code and low-code solutions.
We’ve had great success since launching the platform in November 2023. In a few months, we’ve gained over 1,000 new active users. We’ve also secured several dozen bookings on the platform and seen about 70% new user month-over-month growth since the launch.

Co-Founder, Church Real Estate Marketplace - Emmanuel Brown

May 1, 2024 

Matt’s dedication to executing our vision and his commitment to the project deadline were impressive. 
This was such a specific project, and Matt really delivered. We worked with a really fast turnaround, and he always delivered. The site was a perfect prop for us!

Production Manager, Media Production Company - Samantha Fekete

Sep 23, 2022