DEV Community

Cover image for How to Fork a Repo on GitHub using your Mobile Device
Timonwa Akintokun
Timonwa Akintokun

Posted on • Updated on • Originally published at timonwa.com

How to Fork a Repo on GitHub using your Mobile Device

Have you ever needed to fork a repo on GitHub but didn't have access to a computer? I've been there. During my learning journey, I relied heavily on my mobile device and found it inconvenient to fork repos without a computer. Switching to desktop mode or trying to edit a file as a workaround was cumbersome, especially for iPhone users. Thankfully, GitHub's recent update has made forking repos much simpler.

How to fork a repo on mobile

To fork a repo on GitHub using your mobile device, follow these steps:

  1. Find a repo to fork: Choose any repo, like my Tech Roadmap repo.

  2. Click the fork button: Located at the top left corner of the repo page. Choose where to fork the repo - to your account or an organization.

GitHub's fork button in a mobile browser

GitHub's fork button in a mobile browser

Creating a new fork in GitHub

Creating a new fork in GitHub
  1. Click the create fork button: After choosing the location, click "Create Fork." You will be redirected to the forked repo page where you can start working.

Forking a repo on a moblie broswer

Forking a repo on a moblie broswer

Conclusion

And that's it! Forking a repo on GitHub using your mobile device is now straightforward, without needing desktop mode. This works on both Android and iPhone.

If you found this article helpful, please share it. For any questions or comments, tweet me at @Timonwa_.

Till next time, happy coding!

Man smiling and waving goodbye

via GIPHY

Connect With Me

Stay connected with me on Twitter and LinkedIn for the latest updates. You can support my work through GitHub Sponsor or BuyMeACoffee. For additional support options, check out my Sponsorship and Affiliate Links pages. Your support helps me create more valuable content!

Explore More

Discover more insights and tutorials on my blog:

Top comments (5)

Collapse
 
bukunmikuti profile image
Bukunmi Ransome-kuti

If you code on mobile and constantly have to work through Git commands and workflow then I suggest you check out Termux.

It certainly has its own shortcomings but should help deal with common issues.

Collapse
 
timonwa profile image
Timonwa Akintokun

Thank you Bukunmi. I have never really had to code on my phone before. But this is really helpful for people who do. I have used termux a few times though just to get the feel of using a terminal on my phone.

Collapse
 
bukunmikuti profile image
Bukunmi Ransome-kuti

Yeah. It feels good
Also quite helpful when trying to get familiar with Linux

Collapse
 
brovic profile image
Victor Ordu

Nice one, my dear friend. And thanks for the mention :)

Collapse
 
timonwa profile image
Timonwa Akintokun

Thank you. And you are welcome.