# Clone the repository
cd repo-name
# Add the original repository as an upstream remote
git remote add upstream https://github.com/original-owner/repo-name.git
git remote -v
# Fetch and merge the latest changes from upstream
git fetch upstream
git checkout main
git merge upstream/main
# Create a new branch for the bug fix
git checkout -b bugfix-branch
# Make your code changes, then stage and commit them
git add .
git commit -m "Fix: Description of the bug fix"
# Push the changes to your forked repository
git push origin bugfix-branch