---
title: "Discussion on \"How to remove unused (stale) branches in Git\" | Hashnode"
description: "Discussion on \"How to remove unused (stale) branches in Git\". Many times while completing a pull request we delete the source branch, this deletes the branch from the git server, but still, the reference to that branch would appear in Visual Studio. Even if you do a fetch, pull or sync, the deleted branch from ..."
url: "https://hashnode.com/posts/how-to-remove-unused-stale-branches-in-git/60284573355c6669fd17b5c4"
---

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

Discussion

# [How to remove unused (stale) branches in Git](https://kumarashwinhubert.com/how-to-remove-unused-stale-branches-in-git?utm_source=hashnode&utm_medium=feed)

Many times while completing a pull request we delete the source branch, this deletes the branch from the git server, but still, the reference to that branch would appear in Visual Studio. Even if you do a fetch, pull or sync, the deleted branch from ...

Aug 12, 2018 · 1 min read · kumarashwinhubert.com  
Updated May 13, 2023  
Read the article

## Written by

[Kumar Ashwin Hubert](https://hashnode.com/@kumar-ashwin-hubert)

@kumar-ashwin-hubert · India

  
[View profile](https://hashnode.com/@kumar-ashwin-hubert)

I'm a software consultant who loves to build projects and share my learnings on this blog.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
