This is a small post to document how to keep use git on command line for development.
Add, Fetch, Merge, Push Link to heading
Use git remote to point to upstream to the original repo.
git remote add upstream https://github.com/<original-upstream>/<repo>.git
git remote -v
Next, we have to fetch upstream, merge it and push to main.
git checkout main
git fetch upstream
git merge upstream/main
git push origin main
PR Link to heading
Quick commands to create feature branch
git checkout -b my-feature
git add .
git commit -m "Add feature X"
git push origin my-feature
Then use the GitHub GUI or CLI
gh pr create