---
title: 'How to make git sync local branches with remote'
url: 'https://grav.munn.me/my-blog/how-to-make-garuda-update-faster-by-avoiding-mirrorselect'
markdown: 'https://grav.munn.me/my-blog/how-to-make-garuda-update-faster-by-avoiding-mirrorselect.md'
date: '2025-08-13'
description: 'I just figured this out, I use git to make remote branches the same as local ones, useful if I have done lots of local branches that are stale and need to be murdicated: git fetch --prune'
---

# How to make git sync local branches with remote

I just figured this out, I use git to make remote branches the same as local ones, useful if I have done lots of local branches that are stale and need to be murdicated:

```
git fetch --prune
```

---

## Navigation

- Parent: [My Blog](https://grav.munn.me/my-blog.md)
- Previous: [How to make garuda-update faster](https://grav.munn.me/my-blog/how-to-make-garuda-update-faster.md)
- Next: [How to make ipv6 only version of alpine linux](https://grav.munn.me/my-blog/how-to-make-ipv6-only-version-of-alpine-linux.md)
