How to create new branch using github?

create the branch using Github.

git checkout -b new-branch-name old-branch-name;

push files in GitHub.

git push -origin branch-name;

Switch branch using Github.

git checkout branch_name;

 

 

 

Leave a Comment