Git remote command

A branch is a version of the repository that diverges from the main working project. A Git project can have more than one branch. These branches are a pointer to a snapshot of our changes.

Your image is not available

Create a Branch
We can create a new branch with the help of the git branch command.

git branch <branch name>

Your image is not available

• This command will create a new branch locally based on the current HEAD.
• This command only creates the branch, it doesn't switch us to it. The HEAD remains the same.