Create repository:
git init
See files:
git status
Add files to commit:
git add .
or
git add filename.txt
Commit files:
git commit -m "commit name"
Add remote:
git remote add origin https://github.com/....
Push changes to remote:
git push origin main
See branches:
git branch
Change branch:
git checkout branch_name
Create branch:
git checkout -b branch_name