- Having at least 2 branches:
master
anddevelop
master
branch has only released codedevelop
branch has only stable code- When working on new feature it is better to create brunch like:
> git checkout -b develop-my-new-cool-feature
- After work on feature in separate branch is done, it is better to merge it with develop (as other developers could push their features there):
> git merge develop