git – How to push changes to branch? – Stack Overflow

3 Steps to Commit your changes Suppose you have created a new branch on GitHub with the name feature-branch. FETCH git pull –all Pull all remote branches git branch -a List all branches now Checkout and switch to the feature-branch directory. You can simply copy the branch name from the output of branch -a command above git checkout -b feature-branch VALIDATE Next use the git branch command …

Read More