Git Glossary
An overview of concepts & terms around Git & Version Control
Git Glossary featured image

What is main (or master) in Git?

In Git, "main" (or "master") is a naming convention for a branch. After cloning (downloading) a project from a remote server, the resulting local repository has a single local branch: the so-called "main" (or "master") branch. This means that "main" (or "master") can be seen as a repository's "default" branch.

The Git Cheat Sheet

No need to remember all those commands and parameters: get our popular "Git Cheat Sheet" - for free!

In case you are using the Tower Git client, creating and managing branches is very easy. Many operations can simply be performed by using drag and drop!
Try Tower 30 days for free!

Learn More

About Us

As the makers of Tower, the best Git client for Mac and Windows, we help over 100,000 users in companies like Apple, Google, Amazon, Twitter, and Ebay get the most out of Git.

Just like with Tower, our mission with this platform is to help people become better professionals.

That's why we provide our guides, videos, and cheat sheets (about version control with Git and lots of other topics) for free.