Module 7: Version Control
Concept: Git, GitHub, and Collaboration.
In this final module, we secure our code by moving it from your local machine to the cloud. This is the foundation of professional software engineering and "Applied Data Intelligence."
πΊ The Build Session
βοΈ The Workflow
- Enable Git: In PyCharm, go to
VCS->Enable Version Control-> Select Git. - Commit: This saves a "snapshot" of your code locally. In PyCharm, files change from Red (untracked) to Green (added) to Normal (committed).
- Push: This sends your local snapshots to GitHub. Itβs like uploading your project to a secure cloud vault.
- Pull (Sync): Use the Update Project blue arrow to bring changes (like a README update made on the web) back down to your computer.
π» The Terminal Commands (Cheat Sheet)
While PyCharm handles this with buttons, knowing the industrial commands is a must: