Merging branches
- git pull
- git merge
- git push
Push changes to the system
- git add .
- git commit -am 'some message'
- git push
Checkout branches
- git checkout -b mynewbranch // only used when creating new branch for first time. -b used to create new branch
- git checkout master // when you want to change branches
- git push --set-upstream origin mynewbranch // to push your branch