- Remember to save and git add, git commit before downloading
- upload
git add .
git commit -m "your comments"
git push
- download
git fetch origin <branchName>
git checkout main
git merge origin/<branchName>
- new branch
git checkout -b <branchName>
- switch branch
git checkout <branchName>
- delete a local branch
git branch -D <branchName>
- delete a remote branch
git push origin --delete <remoteBranchName>
- merge branch
git checkout main
git merge <branchName>