Ensure you're on the development
branch:
git checkout development
Fetch the latest changes from the remote (including the main branch):
git fetch origin
Using rebase (preferred to maintain a clean history): Change /main or /master accordingly
git rebase origin/main
Using merge (if you'd prefer to merge the changes with a merge commit):
git merge origin/main
Push the updated development branch to the remote repository:
git push origin development