In this article, we would like to show you how to create remote branch from the command line in Git.
git checkout -b branch_name
git push -u origin branch_name
The first thing you need to do is to create a local branch e.g
git checkout -b new_branch
Then push it to the remote repository:
git push -u origin new_branch