$ git clone <pathToRepository>
$ git status
$ git add --all
$ git commit -m 'write a commit message'
Make sure all files are committed first!
$ git branch <branchName>
$ git branch -av
$ git checkout <branchName>
$ got checkout -b <branchName>
- Checkout the branch you want to merge into
- Use the below command with the name of the branch you want to merge into the current branch
$ git merge <branchName>