How to create branch in git?

Use below command to create a branch what ever name you want

git branch <branch-name>

Ex: git branch develop

Once the branch is created in your local repository you will need to push the created branch to theĀ upstream(remote)

git push --set-upstream origin <branch-name>

In git origin is the alias for remote URL

Ex: git push –set-upstream origin develop