git download link: https://git-scm.com/downloads git in vs code tutorial video: https://www.youtube.com/watch?v=i_23KUAEtUM
-
Open cmd and clone repository to code on your desktop git clone https://github.com/LiewZhengXian/Frontend-Assignment.git
-
Go to the directory with .git file
cd Frontend-Assignment
- Git add to stage all the files in your directory before committing
git add .
- Use git status to check changes (optional)
git status
- Git commit
git commit -m "Your_comment"
- Push your code to repository
git push
git checkout -b <branch name>
git checkout <another branch>
git pull