Let your pipeline run every stage. After it finishes it will look all green like the following screenshot:
In the terminal, run the following commands from the root directory of your sam-app
project.
cd ~/environment/sam-app
git add .
git commit -m "CI/CD Pipeline definition"
git push