Creating branches with Git
💡A branch in git is an independent line of development in the repository. A branch evolves independently to another branches.

Hi, I'm Cristina Ramirez, I'm a computer engineer and software developer with more than 10 years of experience as backend developer, web application development, API REST services for mobile applications, system analysis and logic.
Programming languages: Ruby, PHP, C, C++, C#, CSS, JavaScript.
Frameworks: Ruby on Rails, PHP (Codeigniter, APPHP).
Experience of relational databases (Postgres, MySql, Oracle) and NoSQL databases (MongoDB, Neo4j).
I like innovation and teamwork.
1.- Create the stable branch from the main branch. First, you need to stay inside the main branch and then execute git branch <new_branch> command.
git branch stable
2.- See all branches with git branch command. You are inside the branch in green color.
git branch

3.- Enter inside the stable branch with git checkout <branch> command.
git checkout stable

4.- If you want to do the process in one step you need to do:
git checkout -b stable develop




