These are some basic commands to help with - git getting started.

To clone an existing repo and make changes locally and push the changes back to the repo...

Git Getting Started - This is the sequence

git Clone --> git Checkout to a branch --> edits/make your changes --> git Add --> git commit -m 'my awesome commit' --> git push

Clone and Checkout to a branch - From a VS Code Terminal (make sure it is set to bash)

git clone https://github.com/GoogleCloudPlatform/python-docs-samples

git checkout -b "my new branch"

Now make your changes in VSCode's editor, including adding / deleting files.

Add and commit

git add .

git commit -m "new commit"

Push from Local to Remote

git push

Summary

This is not meant to be a deep dive into git, but more of a getting started guide.