sample ci pipeline from fedora magazine
ref
git status which files are modified
git add . stage all files, snapshot..changes need re adding
git checkout main cd to branch
git commit -m "Description" A commit is a change to files on a branch
git push Push commits from local to the remote on GitHub
git reset --hard reset, will pull from remote
git restore file throw away edits, go back to last commit.
git pull origin main Update local main with any new changes from the remote
git checkout -b newBranch create a new branch that remains seperate until merged
git checkout main
git pull origin main
git merge feature-login
git push origin main