Git

Create new branch

git checkout -b iss53

This is shorthand for:

git branch iss53
git checkout iss53

Commit to the branch

git add .
git commit -m 'Create new footer [issue 53]'

Merge changes from main into branch

git checkout main
git pull
git checkout custom_branch
git merge main

Merge branch into main (pull request)

Create pull request on GitHub

Revert changes

git rm --cached -r .
git reset --hard

Remove file from repository but not locally

git rm --cached file.txt