---
title: "Comment by Sajal Dewangan on \"Git: How to fetch a branch from the upstream to the local repo in 5 steps\" | Hashnode"
description: "Thanks a lot. It was really helpful. I was trying to figure this all out from the last two hours. And you made me understand it in less than 5 minutes"
url: "https://hashnode.com/posts/git-how-to-fetch-a-branch-from-the-upstream-to-the-local-repo-in-5-steps/620a7b084e82f0219d8f9d98/comment/65fd61128dd4cbb95aa4012a"
---

[Discussion](https://hashnode.com/posts/git-how-to-fetch-a-branch-from-the-upstream-to-the-local-repo-in-5-steps/620a7b084e82f0219d8f9d98)

Comment [Git: How to fetch a branch from the upstream to the local repo in 5 steps](https://hashnode.com/posts/git-how-to-fetch-a-branch-from-the-upstream-to-the-local-repo-in-5-steps/620a7b084e82f0219d8f9d98)

[Sajal Dewangan](https://hashnode.com/@sajal0208)

[Mar 22, 2024](https://hashnode.com/posts/git-how-to-fetch-a-branch-from-the-upstream-to-the-local-repo-in-5-steps/620a7b084e82f0219d8f9d98/comment/65fd61128dd4cbb95aa4012a)

Thanks a lot. It was really helpful.

I was trying to figure this all out from the last two hours. And you made me understand it in less than 5 minutes

[Ayu Adiati](https://hashnode.com/@adiatiayu)

[Mar 26, 2024](https://hashnode.com/posts/git-how-to-fetch-a-branch-from-the-upstream-to-the-local-repo-in-5-steps/620a7b084e82f0219d8f9d98/comment/65fd61128dd4cbb95aa4012a#reply-6602f46d4d2e7924a48cecf1)

Thank you! I'm glad to hear that it helps you 😊
