Git and branches

Create a new branch git checkout -b BRANCH_NAME Show all branches Here you can see the branch you are currently working in. git branch git branch -a Switch to branch v1.0.0 git checkout v1.0.0 Switch to master branch git checkout master

Control local git repo from command line

Display the current status git status . Add all changes to the commit git add . Commit changes git commit -m "implemented first user login routes and further developed the code" Push to the master repo git push origin master Checkout from remote repo git clone