Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • 5
    you need branches when you want more than one version of your code to exist at the same time. E.g. a teammate working on another feature or in your case let's say you are working on a longer refactor in your free time on a separate branch, but you also want to push important updates to your main branch while the refactor is not done yet Commented Oct 14, 2022 at 19:28
  • 1
    "I am working on my own" and "get used to a team environment" don't match up. Git does support both use cases, but it's used in different ways Commented Oct 15, 2022 at 3:50