---
title: "Discussion on \"Aliasing your existing git branch\" | Hashnode"
description: "Discussion on \"Aliasing your existing git branch\". Learn how to create a Git alias to switch easily between 'main' and 'master' branches. Save time and avoid typing errors!"
url: "https://hashnode.com/posts/aliasing-your-existing-git-branch/6696661df3e4685779f36222"
---

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

Discussion

# [Aliasing your existing git branch](https://notes.iamkaustav.com/aliasing-your-existing-git-branch?utm_source=hashnode&utm_medium=feed)

Learn how to create a Git alias to switch easily between 'main' and 'master' branches. Save time and avoid typing errors!

Jul 16, 2024 · 2 min read · notes.iamkaustav.com  
Read the article

-   [#git](https://hashnode.com/tag/git)
-   [#tools](https://hashnode.com/tag/tools)
-   [#developer-tools](https://hashnode.com/tag/developer-tools)
-   [#developer](https://hashnode.com/tag/developer)
-   [#productivity](https://hashnode.com/tag/productivity)
-   [#efficiency](https://hashnode.com/tag/efficiency)

## Written by

[Kaustav Chakraborty](https://hashnode.com/@iamkaustav)

@iamkaustav · Berlin, Germany

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

Mad technologist aiming to solve developer experience

Hey, Thanks for taking the time to read this. I'm a software enthusiast with over 10 years of experience in crafting software and organization. I thrive on taking on new challenges and exploring innovative ideas. When I'm not busy coding, I love to travel the world and have already visited 10 countries with 4 more on my upcoming list. I'm also passionate about discussing music, life, and new ideas. If you need someone to listen to your innovative idea, don't hesitate to buzz me. I'm always open to collaborating and lending an ear. With my passion for creativity and my drive to excel, I'm confident that I can help you take your project to the next level. Let's work together to turn your vision into a reality!

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
