give me a git command to merge from upstream from main branch into design branch
Assuming the branch `main` is in a remote repository called `upstream`, and the branch `design` is a local branch, you can use the following commands: 

````
git checkout design
git fetch upstream main
git merge upstream main
````

This will result in the remote branch `main` being merged into your local branch `design`.
Write a Python code snippet that automates the execution of the previously written Git scripts
git checkout design
git fetch upstream main
git merge upstream main