Skip to content

Section Summary

We have covered the main points of using version control. There are many more advanced features of Git and GitHub which you could explore if and when you need them. For now, this is a good starting point.

You can now create repositories locally and push them up to GitHub. You can subsequently switch to a different machine, clone the repository from GitHub and work on it.

You can also push and pull changes between GitHub and your local repository.

Checklist

  • git status, git log --oneline -5, git diff to inspect before you commit.
  • Branch with git checkout -b feature (or git switch -c), push with git push -u origin <branch>.
  • .gitignore includes venv/, __pycache__/, .ipynb_checkpoints/, data files.
  • Never commit secrets/keys — if you did, rotate them; history rewrite is out of scope here.

Next: Cloud Introduction — same git + venv workflow, now on an Azure VM.