First clone a repository on VSCode
Some basic Git commands are:
git status
git add .
git commit -m "message"
git push
git branch #check branches
git branch <new-branch> #create new branch
git checkout <branch-name> #go to a specific branch
git push -u origin <branch-name> #push branch up to remote repo from local
git checkout main #go to main/master
git merge <branch-name> #merge branch to main