---
title: "Discussion on \"Checking Which Branch a Local Branch Tracks\" | Hashnode"
description: "Discussion on \"Checking Which Branch a Local Branch Tracks\". A pull or push is easier to reason about once you know which upstream branch your local branch tracks. I check that whenever I come back to a repository with several similarly named branches. The loca"
url: "https://hashnode.com/posts/checking-which-branch-a-local-branch-tracks/6b054d7cab6034ce18b80f11"
---

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

Discussion

# [Checking Which Branch a Local Branch Tracks](https://sphrag.hashnode.dev/checking-which-branch-a-local-branch-tracks?utm_source=hashnode&utm_medium=feed)

A pull or push is easier to reason about once you know which upstream branch your local branch tracks. I check that whenever I come back to a repository with several similarly named branches. The loca

10h ago · 2 min read · sphrag.hashnode.dev  
Read the article

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

## Written by

[shadow dragon](https://hashnode.com/@sphrag)

@sphrag

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

https://sphrag.com

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
