---
title: "Discussion on \"How to fetch a branch from upstream repository to local repo\" | Hashnode"
description: "Discussion on \"How to fetch a branch from upstream repository to local repo\". Hello, guys if you are new to git you will surely experience difficulty in fetching a branch from your remote repo on GitHub to your local machine."
url: "https://hashnode.com/posts/how-to-fetch-a-branch-from-upstream-repository-to-local-repo/644d1869527720cc76caff56"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to fetch a branch from upstream repository to local repo](https://ogbonnannamdi.hashnode.dev/how-to-fetch-a-branch-from-upstream-repository-to-local-repo?utm_source=hashnode&utm_medium=feed)

Hello, guys if you are new to git you will surely experience difficulty in fetching a branch from your remote repo on GitHub to your local machine.

Apr 29, 2023 · 2 min read · ogbonnannamdi.hashnode.dev  
Read the article

-   [#git](https://hashnode.com/tag/git)
-   [#github](https://hashnode.com/tag/github)

## Written by

[Chris N. Ogbonna](https://hashnode.com/@Mannnie)

@Mannnie · Lagos, Nigeria

  
[View profile](https://hashnode.com/@Mannnie)

I document my journey building real products as a software developer, sharing lessons, mistakes, and practical insights.

My name is Chris, A software developer strongly driven by my love for tech and innovation, currently on a journey to building great things.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
