To switch between different versions of branches
git checkout {BRANCH_NAME}
To fetch and download content from a remote branch and immediately update the local branch
git pull
To include updates to a particular file in the next commit
git add .
To save changes in the local branch
git commit -m “{MESSAGE}”
To upload local branch content to remote branch
git push
Leave a Reply