Git is a version control tool that allows you to maintain and view different versions of your application. When a new update breaks your app, Git lets you revert those changes to the previous version.
In addition to versioning, Git allows you to work in multiple environments at the same time. Multiple environments in this context means branches.
$ git checkout --track origin/newsletter
Branch newsletter set up to track remote branch newsletter from origin.
Switched to a new branch 'newsletter'
git fetch origin
git checkout --track origin/<branch_name>
#git #github